summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2017-03-09 09:28:29 -0600
committerMark Salyzyn2017-03-09 11:36:34 -0600
commit81321a7980903fbdb42f6bd838445c651fd7996e (patch)
tree18b42df23d875912af263931c6d3a1308771cf76 /liblog/README
parent04bbc8ea4584b14c21e0c63f8dc4c6b4beb7bd47 (diff)
downloadplatform-system-core-81321a7980903fbdb42f6bd838445c651fd7996e.tar.gz
platform-system-core-81321a7980903fbdb42f6bd838445c651fd7996e.tar.xz
platform-system-core-81321a7980903fbdb42f6bd838445c651fd7996e.zip
liblog: replace "frontend" with "transport"
We still do not have any users of the 'frontend' interface, let's right a wrong and rename it to 'transport' as it makes more sense. Renames android_log_set_frontend, android_log_get_frontend and include/log/log_frontend.h. SideEffects: None Test: gTest liblog-unit-tests Bug: 27405083 Change-Id: I7c1c0f3dfdc7cf047285403e306edbd16ad1324d
Diffstat (limited to 'liblog/README')
-rw-r--r--liblog/README18
1 files changed, 9 insertions, 9 deletions
diff --git a/liblog/README b/liblog/README
index 40a39ad8b..5a845be0e 100644
--- a/liblog/README
+++ b/liblog/README
@@ -108,10 +108,10 @@ SYNOPSIS
108 108
109 int android_log_destroy(android_log_context *ctx) 109 int android_log_destroy(android_log_context *ctx)
110 110
111 #include <log/log_frontend.h> 111 #include <log/log_transport.h>
112 112
113 int android_set_log_frontend(int frontend_flag) 113 int android_set_log_transport(int transport_flag)
114 int android_get_log_frontend() 114 int android_get_log_transport()
115 115
116 Link with -llog 116 Link with -llog
117 117
@@ -167,12 +167,12 @@ DESCRIPTION
167 when opening the sub-log. It is recommended to open the log 167 when opening the sub-log. It is recommended to open the log
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_transport() selects transport filters. Argument is
171 LOGGER_DEFAULT, LOGGER_LOGD, LOGGER_NULL or LOGGER_LOCAL. Log to logger 171 either LOGGER_DEFAULT, LOGGER_LOGD, LOGGER_NULL or LOGGER_LOCAL. Log to
172 daemon for default or logd, drop contents on floor, or log into local 172 logger daemon for default or logd, drop contents on floor, or log into
173 memory respectively. Both android_set_log_frontend() and 173 local memory respectively. Both android_set_log_transport()
174 android_get_log_frontend() return the current frontend mask, or a 174 and android_get_log_transport() return the current transport mask, or
175 negative errno for any problems. 175 a negative errno for any problems.
176 176
177ERRORS 177ERRORS
178 If messages fail, a negative error code will be returned to the caller. 178 If messages fail, a negative error code will be returned to the caller.