commit | b77afa0ad247814dd639dc93e17202e60553c069 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Fri Apr 24 14:03:39 2020 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Fri Apr 24 14:03:48 2020 -0700 |
tree | f4f32e3fbe65146723ba1a85bce44381a3ff0eaf | |
parent | 045fc9aa1f932d4ccaeea4bdb3687a030da89e82 [diff] |
resolve_callback_unit_test - fix bugprone-macro-parentheses warning Fixes: packages/modules/DnsResolver/resolv_callback_unit_test.cpp: 47:67: error: macro argument should be enclosed in parentheses [bugprone-macro-parentheses,-warnings-as-errors] GTEST_LOG_(INFO) << "Skip. Required API version: " << version << "\n"; \ ^ ( ) Test: builds Bug: 153035880 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Icb925cbefc5297ba2b1957d278ba9409bc28688b
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.