Merge "libcutils: change klog_level to KLOG_INFO_LEVEL" am: 5e9863bf63
am: 974dd6291e
Change-Id: Ib27b60748cb21cf470cf5e1004274c1d5e5d7617
This commit is contained in:
commit
c87d4ce758
2 changed files with 1 additions and 3 deletions
|
@ -44,6 +44,4 @@ __END_DECLS
|
|||
#define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x)
|
||||
#define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x)
|
||||
|
||||
#define KLOG_DEFAULT_LEVEL 3 /* messages <= this level are logged */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <cutils/android_get_control_file.h>
|
||||
#include <cutils/klog.h>
|
||||
|
||||
static int klog_level = KLOG_DEFAULT_LEVEL;
|
||||
static int klog_level = KLOG_INFO_LEVEL;
|
||||
|
||||
int klog_get_level(void) {
|
||||
return klog_level;
|
||||
|
|
Loading…
Reference in a new issue