am 6743dab5: Merge "init: Add additional logging levels"
* commit '6743dab51fbd6487ab924ad38e5d4c07dd174a60': init: Add additional logging levels
This commit is contained in:
commit
18fc744f2e
|
@ -20,8 +20,11 @@
|
|||
#include <cutils/klog.h>
|
||||
|
||||
#define ERROR(x...) init_klog_write(KLOG_ERROR_LEVEL, x)
|
||||
#define WARNING(x...) init_klog_write(KLOG_WARNING_LEVEL, x)
|
||||
#define NOTICE(x...) init_klog_write(KLOG_NOTICE_LEVEL, x)
|
||||
#define INFO(x...) init_klog_write(KLOG_INFO_LEVEL, x)
|
||||
#define DEBUG(x...) init_klog_write(KLOG_DEBUG_LEVEL, x)
|
||||
#define VERBOSE(x...) init_klog_write(KLOG_DEBUG_LEVEL, x)
|
||||
|
||||
void init_klog_write(int level, const char* fmt, ...) __printflike(2, 3);
|
||||
int selinux_klog_callback(int level, const char* fmt, ...) __printflike(2, 3);
|
||||
|
|
Loading…
Reference in New Issue