android_system_core/liblog/include/log
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
..
event_tag_map.h liblog: add android_lookupEventTagNum 2017-02-02 15:21:15 -08:00
log.h liblog: add log/log_read.h 2017-01-26 21:13:31 +00:00
log_event_list.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
log_frontend.h liblog: add LOGGER_STDERR frontend 2017-03-08 07:17:31 -08:00
log_id.h liblog: add log/log_id.h 2017-01-25 15:41:43 -08:00
log_main.h ndk: reverse course on android/log.h 2017-01-25 15:41:43 -08:00
log_radio.h liblog: add logprint to host build 2017-02-08 13:37:44 -08:00
log_read.h liblog: add logprint to host build 2017-02-08 13:37:44 -08:00
log_system.h liblog: add logprint to host build 2017-02-08 13:37:44 -08:00
log_time.h liblog: add log/log_time.h 2017-01-25 15:41:43 -08:00
logd.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
logger.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
logprint.h logcat: test: inject() tuning 2017-01-30 15:42:56 -08:00
uio.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00