commit | 9b72daa3b7f3f33fcc5bf25269a9221cf296e904 | [log] [tgz] |
---|---|---|
author | chenbruce <chenbruce@google.com> | Fri Aug 20 00:00:49 2021 +0800 |
committer | chenbruce <chenbruce@google.com> | Fri Aug 20 14:45:36 2021 +0800 |
tree | b50f64d64cd5f7c63956ee8b12ee69b3f8e97989 | |
parent | 6c186345551a7e36fb9c8a07183c9429c3a5b306 [diff] |
Replace StringPrintf() with fmt::format() Bug: 196298216 Test: cd packages/modules/DnsResolver && atest Change-Id: I581c282bba1527afd2be9daf925e9ec5bd2e5cd6
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.