commit | be3e76dffa3be4aee0b25330f940b5640ad02506 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Nov 16 20:10:02 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Nov 16 13:27:04 2021 +0000 |
tree | d46fb0f332cd68c01c5df4162aefbd010dc2795d | |
parent | 1b2e16d64d92f71a006fd2dd42a81055987d93c6 [diff] |
Store flags in order As there are already 16 flags, and we are going to add one more flag, storing the flags in order would make the output of dumpsys dnsresolver look nicer. Bug: 205922706 Test: checked the output of dumpsys dnsresolver Change-Id: I2905bec795f08f514e1906198d5ca11a65fc458a
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.