commit | b63d67d2f284e6434f8e9338cb397edaa4a06b4b | [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 | 3197c93c74e50fd88b539415c6e134c6cd506134 | |
parent | 1a1e8b7fec6b7dac5e4b9efef98ceb5242aac01c [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