summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2016-03-08 18:18:26 -0600
committerMark Salyzyn2017-02-08 17:07:06 -0600
commit71002885325be3a0c4a0d09a6a6ad9b14531bdd7 (patch)
tree280af7329dba542f40eaab69a29e19ccd08aadd6 /liblog/README
parent96432fc6655fe035d0e66e593ffaf58856e1a826 (diff)
downloadplatform-system-core-71002885325be3a0c4a0d09a6a6ad9b14531bdd7.tar.gz
platform-system-core-71002885325be3a0c4a0d09a6a6ad9b14531bdd7.tar.xz
platform-system-core-71002885325be3a0c4a0d09a6a6ad9b14531bdd7.zip
liblog: add local_logger
- Create the local-only logger module - Add LOGGER_LOCAL flag to android_set_log_frontend to enable - Permit log reader for host compilation android_set_log_frontend(LOGGER_LOCAL) will result in logs going into application local memory. logcat can not retrieve the data, the user must utilize the log reading interface directly to acquire their own logs. Some local logger tests dropped as they represent testing other liblog facilities. Other local logger tests dropped because we make the conscious decision to not support LOG_ID_SECURITY logging. ToDo: Some local logger tests dropped because of missing functionality associated with blocking reader. Test: gTest libcutils-tests, logd-unit-tests, liblog-unit-tests, logcat-unit-tests, liblog-benchmarks and CtsLiblogTestCases_list Bug: 27405083 Change-Id: Ia23b932af9e05756eaa60bab9139876b14faf72d
Diffstat (limited to 'liblog/README')
-rw-r--r--liblog/README7
1 files changed, 4 insertions, 3 deletions
diff --git a/liblog/README b/liblog/README
index 922b5e3d5..40a39ad8b 100644
--- a/liblog/README
+++ b/liblog/README
@@ -168,9 +168,10 @@ DESCRIPTION
168 ANDROID_LOG_RDONLY in these cases. 168 ANDROID_LOG_RDONLY in these cases.
169 169
170 android_set_log_frontend() selects frontend filters. Argument is either 170 android_set_log_frontend() selects frontend filters. Argument is either
171 LOGGER_DEFAULT, LOGGER_LOGD or LOGGER_NULL. The latter drops all 171 LOGGER_DEFAULT, LOGGER_LOGD, LOGGER_NULL or LOGGER_LOCAL. Log to logger
172 content on the floor. Both android_set_log_frontend() and 172 daemon for default or logd, drop contents on floor, or log into local
173 android_get_log_frontend() return the current frontend mask, or a 173 memory respectively. Both android_set_log_frontend() and
174 android_get_log_frontend() return the current frontend mask, or a
174 negative errno for any problems. 175 negative errno for any problems.
175 176
176ERRORS 177ERRORS