summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-08-23 10:23:36 -0700
committergitbuildkicker <android-build@google.com>2016-09-27 15:59:28 -0700
commite8ee40302200c1bd1fd6537c80bf5e8aab744d42 (patch)
treeeca27ff2ff73c9cfda70fb03a3c2f73d968e195a /include
parentb825f1148cc78fa853da964de2e7e2de1b3b03b2 (diff)
downloadsystem_core-e8ee40302200c1bd1fd6537c80bf5e8aab744d42.zip
system_core-e8ee40302200c1bd1fd6537c80bf5e8aab744d42.tar.gz
system_core-e8ee40302200c1bd1fd6537c80bf5e8aab744d42.tar.bz2
liblog: add __android_log_close()
Bug: 30963384 (cherry picked from commit df7a4c6bae5f85532d79a93b7d9197a2aab17825) Change-Id: I2255486e84dd55af0f4e7fbbfb616c2deb1765d0 (cherry picked from commit 2d149691552676968b7de337f543463b920578b0)
Diffstat (limited to 'include')
-rw-r--r--include/android/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/android/log.h b/include/android/log.h
index 1c171b7..391c826 100644
--- a/include/android/log.h
+++ b/include/android/log.h
@@ -89,6 +89,11 @@ typedef enum android_LogPriority {
} android_LogPriority;
/*
+ * Release any logger resources (a new log write will immediately re-acquire)
+ */
+void __android_log_close();
+
+/*
* Send a simple string to the log.
*/
int __android_log_write(int prio, const char *tag, const char *text);