mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
syslogmask: add default value Kconfig to syslogmask
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -11,6 +11,10 @@ config ARCH_SYSLOG
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config SYSLOG_DEFAULT_MASK
|
||||||
|
hex "syslog mask default value"
|
||||||
|
default 0xff
|
||||||
|
|
||||||
comment "SYSLOG options"
|
comment "SYSLOG options"
|
||||||
|
|
||||||
config SYSLOG_MAX_CHANNELS
|
config SYSLOG_MAX_CHANNELS
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
/* The currently enabled set of syslog priorities */
|
/* 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
|
* Public Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user