Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Stop print debug|info level log in release builds in FBLOG
Browse files Browse the repository at this point in the history
Summary: This diff uses `NDEBUG` to trim the debug and info level logging.

Reviewed By: aandreyeu

Differential Revision: D37541647

fbshipit-source-id: e4ba366dfc45e1622a23a00973f064bcaa242b9d
  • Loading branch information
simpleton authored and facebook-github-bot committed Jul 7, 2022
1 parent 8c4701b commit 09e3701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/profiler/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ fb_xplat_android_cxx_library(
"-DLOG_TAG=\"Profilo/ArtCompatibility\"",
"-Wno-reorder-init-list",
"-Wno-unknown-warning-option",
"-Wno-unused-variable",
#"-DFBLOG_NDEBUG=0", # verbose logging
],
force_static = True,
Expand Down

0 comments on commit 09e3701

Please sign in to comment.