commit | 15ad2f9b9c742494d73c6eeecd185c0a17c3ba8d | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Nov 22 14:06:37 2019 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Nov 22 21:42:11 2019 +0800 |
tree | bda4873422475d1af9251fd98742ec9a7b0b2754 | |
parent | d5918e6703d48334d60c35bd41a1587f35160c1c [diff] |
Embedding DnsStats instead of using a smart pointer No functionality changes. Test: m com.android.resolv Change-Id: Iae39210863eb643d1ec0988e8c0e29df49bcf167
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.