commit | 9e35bc0633ae2260fdd25806bed39d5f568e849b | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Mon Jan 31 22:23:58 2022 -0800 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Mon Jan 31 22:23:58 2022 -0800 |
tree | 33206ff2dd95094da347422c5f6891e21c8c762d | |
parent | 03bbf612b7adbc6d483de0f684850f872de2e31f [diff] |
Fix -Wbitwise-instead-of-logical Bg: http://b/215753485 This warning is triggered by the new clang-r445002 prebuilt. error: use of bitwise '|' with boolean operands [-Werror,-Wbi twise-instead-of-logical] if (match_str == "}" | match_str == "},") { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || Test: Build with new clang and verify absence of warning. Change-Id: I91465a30e33827317731c8874489eeafd89adfa6
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.