commit | 1b3f44632256964b0ade152c8b4f12e2afaa5e6d | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri Dec 04 17:48:39 2020 +0800 |
committer | Luke Huang <huangluke@google.com> | Fri Dec 04 20:55:07 2020 +0800 |
tree | 6fff46469736d473ab971122981a371420d8fcc0 | |
parent | e3fdcc864f4e982225a06c0dc2c6144309d15424 [diff] |
Remove res_init.* and move its functionalities into ResState Add the constructor for ResState and remove the methods used for initializing RedState. Bug: 174825679 Test: atest Change-Id: Ie3e81572e606a6e6f441c2dd61667e31545a4c87
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.