From 550829d84bd403c9d29c003614962ee72a9a052d Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Wed, 7 Sep 2016 10:10:50 -0700 Subject: 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 --- base/include/android-base/logging.h | 1 + 1 file changed, 1 insertion(+) (limited to 'base/include/android-base') 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, }; -- cgit v1.2.3