Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log API for non release builds. #2108

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

zhongqiliang
Copy link
Contributor

@zhongqiliang zhongqiliang commented Dec 15, 2023

Make v(),d(),i() logs not print for release builds.

These logs still prints for fishfood and dogfood builds.

b/315852240

@datadog-cobalt-youtube
Copy link

datadog-cobalt-youtube bot commented Dec 15, 2023

Datadog Report

Branch report: add_nonlog_api_for_nonrelease_build
Commit report: 0468f68

cobalt: 0 Failed, 0 New Flaky, 29831 Passed, 1 Skipped, 11m 53.19s Wall Time

Copy link

codecov bot commented Dec 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (401d1c7) 58.67% compared to head (0468f68) 58.57%.
Report is 39 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2108      +/-   ##
==========================================
- Coverage   58.67%   58.57%   -0.11%     
==========================================
  Files        1907     1914       +7     
  Lines       94073    94432     +359     
==========================================
+ Hits        55199    55313     +114     
- Misses      38874    39119     +245     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The API can prints logs to logcat for Fishfood and Dogfood builds,
but not release build, because it is stripped by ProGuard.wq!

b/315852240
@zhongqiliang zhongqiliang force-pushed the add_nonlog_api_for_nonrelease_build branch from c09807e to 0468f68 Compare December 15, 2023 23:13
@zhongqiliang zhongqiliang merged commit cec32f1 into main Dec 16, 2023
336 of 342 checks passed
@zhongqiliang zhongqiliang deleted the add_nonlog_api_for_nonrelease_build branch December 16, 2023 03:00
@zhongqiliang zhongqiliang added the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Dec 16, 2023
cobalt-github-releaser-bot pushed a commit that referenced this pull request Dec 16, 2023
Make v(),d(),i() logs not print for release builds.

These logs still prints for fishfood and dogfood builds.

b/315852240

Co-authored-by: Colin Liang <[email protected]>
(cherry picked from commit cec32f1)
zhongqiliang added a commit that referenced this pull request Dec 16, 2023
Refer to the original PR: #2108

Make v(),d(),i() logs not print for release builds.

These logs still prints for fishfood and dogfood builds.

b/315852240

Co-authored-by: Colin Liang <[email protected]>
Rongo-JL pushed a commit to Rongo-JL/cobalt that referenced this pull request Dec 19, 2023
Make v(),d(),i() logs not print for release builds.

These logs still prints for fishfood and dogfood builds.

b/315852240

Co-authored-by: Colin Liang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants