syslogmask: add default value Kconfig to syslogmask
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
300ce45365
commit
e608d5522d
|
@ -11,6 +11,10 @@ config ARCH_SYSLOG
|
|||
bool
|
||||
default n
|
||||
|
||||
config SYSLOG_DEFAULT_MASK
|
||||
hex "syslog mask default value"
|
||||
default 0xff
|
||||
|
||||
comment "SYSLOG options"
|
||||
|
||||
config SYSLOG_MAX_CHANNELS
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
/* The currently enabled set of syslog priorities */
|
||||
|
||||
uint8_t g_syslog_mask = LOG_ALL;
|
||||
uint8_t g_syslog_mask = CONFIG_SYSLOG_DEFAULT_MASK;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
|
Loading…
Reference in New Issue