From 09e37018ce3d710f2c1aaff7e1cb8299e694b3bd Mon Sep 17 00:00:00 2001 From: Sim Sun Date: Thu, 7 Jul 2022 15:21:28 -0700 Subject: [PATCH] Stop print debug|info level log in release builds in FBLOG Summary: This diff uses `NDEBUG` to trim the debug and info level logging. Reviewed By: aandreyeu Differential Revision: D37541647 fbshipit-source-id: e4ba366dfc45e1622a23a00973f064bcaa242b9d --- cpp/profiler/BUCK | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/profiler/BUCK b/cpp/profiler/BUCK index ae0bca3a..aa93db9b 100644 --- a/cpp/profiler/BUCK +++ b/cpp/profiler/BUCK @@ -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,