commit | 850d06e1c94bd292841c3ed9d7e1c0161d84d743 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Feb 04 12:39:57 2015 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Wed Feb 08 13:37:41 2017 -0800 |
tree | dc72d191425b6b5a206859379fd01b87730ff745 | |
parent | ec5d6cb8fdcabaaaba2836712f5b7ee58321c3b8 [diff] |
liblog: Add android_set_log_frontend android_set_log_frontend allows one to select LOGGER_DEFAULT, LOGGER_LOGD or LOGGER_NULL, the latter allows a runtime mechanism to turn logging on or off. LOGGER_DEFAULT is LOGGER_LOGD. Test: gTest liblog-unit-tests notably liblog.android_set_log_frontend and liblog-benchmarks before and after. Bug: 27405083 Change-Id: I365dbee9f7d83112da0ef8d1cace748d247773c8