summaryrefslogtreecommitdiffstats
path: root/base/include/android-base
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-09-07 10:10:50 -0700
committerAndreas Gampe <agampe@google.com>2016-09-07 18:19:42 -0700
commit550829d84bd403c9d29c003614962ee72a9a052d (patch)
tree8184043931104cfba8601ef020223635ddadd302 /base/include/android-base
parentaf6a185fb44a30a0988688ff48e8e0fb104bf6c5 (diff)
downloadcore-550829d84bd403c9d29c003614962ee72a9a052d.tar.gz
core-550829d84bd403c9d29c003614962ee72a9a052d.tar.bz2
core-550829d84bd403c9d29c003614962ee72a9a052d.zip
Base: Add INTERNAL_FATAL to logging severity
Add the INTERNAL_FATAL level. It will print 'F' like FATAL, but does not abort after logging. Add a test to logging_test. Bug: 31338270 Test: m Test: mmma system/core/base && adb sync && adb shell /data/nativetest/libbase_test/libbase_test32 Change-Id: Idf74c08e8516881efccaefc58fa3f41d57e56396
Diffstat (limited to 'base/include/android-base')
-rw-r--r--base/include/android-base/logging.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/include/android-base/logging.h b/base/include/android-base/logging.h
index 721ecceca..c626fc353 100644
--- a/base/include/android-base/logging.h
+++ b/base/include/android-base/logging.h
@@ -41,6 +41,7 @@ enum LogSeverity {
INFO,
WARNING,
ERROR,
+ FATAL_WITHOUT_ABORT,
FATAL,
};