History log of /system/core/logcat/include/log/logcat.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6dabc81a0b7eac772209e8eef70ff3b156e5cc6b 10-Feb-2017 Mark Salyzyn <salyzyn@google.com> liblogcat: add android_logcat_popen and android_logcat_system

Supply a wrapper to the logcat API that provides some analogous
functionality to popen and system libc calls with some bits of
KISS shell-like parsing for environment, quotes and error
redirection handling.

Test: gTest logcat-unit-tests
Bug: 35326290
Change-Id: I9494ce71267ad2b2bec7fcccfc7d4beddae9aea6
/system/core/logcat/include/log/logcat.h
1d6928b7360217e788ab5255b5667828e092936a 10-Feb-2017 Mark Salyzyn <salyzyn@google.com> liblogcat: add android_logcat_run_command_thread

A non-blocking API to run a logcat function in a background thread.
Returns a read end of a pipe to collect the output.

Test: gTest logcat-unit-tests
Bug: 35326290
Change-Id: Idc14e4ad955e0b2b9fafa5d3aeed8cd7fb4069fb
/system/core/logcat/include/log/logcat.h
c0cf90d1fb6aca1e6ae6c06d4d6231dd4d47d3cb 10-Feb-2017 Mark Salyzyn <salyzyn@google.com> logcat: Create liblogcat

Try to leverage as much of logcat as-is and produce a viable
library API that others can use for their own logcat execution.

Added a test to check ANDROID_PRINTF_LOG environment variable.

Test: gTest logcat-unit-tests
Bug: 35326290
Change-Id: I30de692ea9d83e6fd6e5d9e7cf93d31401a88a40
/system/core/logcat/include/log/logcat.h