summaryrefslogtreecommitdiffstats
path: root/libc/private/libc_logging.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2013-11-08 06:58:01 -0800
committerMark Salyzyn <salyzyn@google.com>2014-02-26 15:33:13 -0800
commit0336e35368aa161f1fed04ccde39553db4740b97 (patch)
tree695110f21adb248648f6c2d850c8abb2d6800564 /libc/private/libc_logging.h
parent27c7dbeee6c5e0cee488ce5085cc0b8c5e0301bd (diff)
downloadbionic-0336e35368aa161f1fed04ccde39553db4740b97.zip
bionic-0336e35368aa161f1fed04ccde39553db4740b97.tar.gz
bionic-0336e35368aa161f1fed04ccde39553db4740b97.tar.bz2
libc: Make calls to new user-space logger
* libc (fatal) logging now makes socket connection to the user-space logging service. * Add a TARGET_USES_LOGD make flag for BoardConfig.mk to manage whether logd is enabled for use or not. Change-Id: I96ab598c76d6eec86f9d0bc81094c1fb3fb0d9b4
Diffstat (limited to 'libc/private/libc_logging.h')
-rw-r--r--libc/private/libc_logging.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/private/libc_logging.h b/libc/private/libc_logging.h
index 1cdcb6e..a187b37 100644
--- a/libc/private/libc_logging.h
+++ b/libc/private/libc_logging.h
@@ -52,6 +52,17 @@ enum {
ANDROID_LOG_SILENT, /* only for SetMinPriority(); must be last */
};
+enum {
+ LOG_ID_MIN = 0,
+
+ LOG_ID_MAIN = 0,
+ LOG_ID_RADIO = 1,
+ LOG_ID_EVENTS = 2,
+ LOG_ID_SYSTEM = 3,
+
+ LOG_ID_MAX
+};
+
struct abort_msg_t {
size_t size;
char msg[0];