diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-02-28 12:59:01 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-03-08 07:17:31 -0800 |
commit | 4d99c986d9310eb5fbc29618487577d645788eec (patch) | |
tree | f765d656f2351c864f7dafa5e9e673c3f3b5ca77 /libunwindstack/tests/MemoryRemoteTest.cpp | |
parent | e1bfafd241cc8a6c419e08248352f1a5eef46ae1 (diff) |
liblog: add LOGGER_STDERR frontend
Standalone, this logger provides no end-to-end capability. Only
provides a writer, no reader transport. All output goes, logcat-like,
into the stderr stream. Output can be adjusted with environment
variables ANDROID_PRINTF_LOG and ANDROID_LOG_TAGS.
liblog_*.__android_log_bswrite_and_print___max print fails if a string
member is truncated with "Binary log entry conversion failed" and -1.
We expose the truncated content in the tests and in LOGGER_STDERR.
The purpose of this transport selection is for command-line tools,
providing a means to shunt the logs to be mixed in with the tool's
error stream.
Test: gTest liblog-unit-tests
Bug: 27405083
Change-Id: If344b6e3e67df2dc86ce317cfad8af8e857727b7
Diffstat (limited to 'libunwindstack/tests/MemoryRemoteTest.cpp')
0 files changed, 0 insertions, 0 deletions