platform_system_core/liblog/tests
Mark Salyzyn 4d99c986d9 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
2017-03-08 07:17:31 -08:00
..
Android.mk liblog: add LOGGER_STDERR frontend 2017-03-08 07:17:31 -08:00
AndroidTest.xml liblog: CTS test 2016-11-29 08:40:16 -08:00
benchmark.h Fix google-explicit-constructor warnings in system/core. 2016-07-26 11:26:01 -07:00
benchmark_main.cpp Move liblog tests and benchmarks to libc++. 2014-11-12 03:44:16 +00:00
libc_test.cpp liblog: CTS test 2016-11-29 08:40:16 -08:00
liblog_benchmark.cpp liblog: benchmark: Use local LOGGER_NULL frontend 2017-02-08 13:37:44 -08:00
liblog_test.cpp liblog: add LOGGER_STDERR frontend 2017-03-08 07:17:31 -08:00
liblog_test_default.cpp liblog: add local_logger 2017-02-08 15:07:06 -08:00
liblog_test_local.cpp liblog: add local_logger 2017-02-08 15:07:06 -08:00
liblog_test_stderr.cpp liblog: add LOGGER_STDERR frontend 2017-03-08 07:17:31 -08:00
liblog_test_stderr_local.cpp liblog: add LOGGER_STDERR frontend 2017-03-08 07:17:31 -08:00
log_id_test.cpp liblog: add logprint to host build 2017-02-08 13:37:44 -08:00
log_radio_test.cpp liblog: add logprint to host build 2017-02-08 13:37:44 -08:00
log_read_test.cpp liblog: add log/log_read.h 2017-01-26 21:13:31 +00:00
log_system_test.cpp liblog: add logprint to host build 2017-02-08 13:37:44 -08:00
log_time_test.cpp liblog: add logprint to host build 2017-02-08 13:37:44 -08:00