commit | 411ea7f258e8714c43ffdea1cddcb3561435dd3d | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Sep 17 11:10:08 2019 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Sep 17 11:10:08 2019 +0800 |
tree | 83481131bd4267c13dbfd975eabd6f90a4db067a | |
parent | f1e707cf47f9dc2edc98f7e57460eefde4922a5f [diff] |
Convert to use libbase ScopedLockAssertion The helper class was introduced in libbase few months ago. No functionality change. Test: built, flashed, booted Change-Id: I9ce418ffc498f8d4767af64365e7dea0d1ba9574
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.