summaryrefslogtreecommitdiffstats
path: root/include/log/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/log/log.h')
-rw-r--r--include/log/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/log/log.h b/include/log/log.h
index 7faddea..d3df5bd 100644
--- a/include/log/log.h
+++ b/include/log/log.h
@@ -531,6 +531,12 @@ typedef enum {
#define android_btWriteLog(tag, type, payload, len) \
__android_log_btwrite(tag, type, payload, len)
+#define android_errorWriteLog(tag, subTag) \
+ __android_log_error_write(tag, subTag, -1, NULL, 0)
+
+#define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \
+ __android_log_error_write(tag, subTag, uid, data, dataLen)
+
// TODO: remove these prototypes and their users
#define android_testLog(prio, tag) (1)
#define android_writevLog(vec,num) do{}while(0)
@@ -549,6 +555,9 @@ typedef enum {
LOG_ID_MAX
} log_id_t;
+int __android_log_error_write(int tag, const char *subTag, int32_t uid, const char *data,
+ uint32_t dataLen);
+
/*
* Send a simple string to the log.
*/