commit | c7d6927d38419fcf9882d097fa6251da2f347b01 | [log] [tgz] |
---|---|---|
author | chenbruce <chenbruce@google.com> | Mon Aug 09 14:20:33 2021 +0800 |
committer | chenbruce <chenbruce@google.com> | Tue Aug 31 16:07:32 2021 +0800 |
tree | c9dc2471af427d4679dbbfa2cfe9bea2f6ec21d1 | |
parent | 52cf009bf98d4575e67f96a732f1b715dc588d13 [diff] |
Replace manual buffer handling with std::span Bug: 196298216 Test: cd packages/modules/DnsResolver && atest Change-Id: I8b0b8b0cc0c1185eb9a9e99ed10a2fc109bfa1d7
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.