-
CONFIG_COAP_LOG_LEVEL
¶
(No prompt – not directly user assignable.)
Type: int
Defaults¶
- 0 if (
COAP_LOG_LEVEL_OFF
|| !NET_LOG
) &&COAP
&&NETWORKING
- 1 if
COAP_LOG_LEVEL_ERR
&&COAP
&&NETWORKING
- 2 if
COAP_LOG_LEVEL_WRN
&&COAP
&&NETWORKING
- 3 if
COAP_LOG_LEVEL_INF
&&COAP
&&NETWORKING
- 4 if
COAP_LOG_LEVEL_DBG
&&COAP
&&NETWORKING
LOG_DEFAULT_LEVEL
ifCOAP_LOG_LEVEL_DEFAULT
&&COAP
&&NETWORKING
Kconfig definition¶
At subsys/net/Kconfig.template.log_config.net:50
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:24
→ subsys/net/Kconfig:84
→ subsys/net/lib/Kconfig:9
→ subsys/net/lib/coap/Kconfig:69
Menu path: (top menu) → Networking → Network Protocols
config COAP_LOG_LEVEL int default 0 if (COAP_LOG_LEVEL_OFF
|| !NET_LOG
) &&COAP
&&NETWORKING
default 1 ifCOAP_LOG_LEVEL_ERR
&&COAP
&&NETWORKING
default 2 ifCOAP_LOG_LEVEL_WRN
&&COAP
&&NETWORKING
default 3 ifCOAP_LOG_LEVEL_INF
&&COAP
&&NETWORKING
default 4 ifCOAP_LOG_LEVEL_DBG
&&COAP
&&NETWORKING
defaultLOG_DEFAULT_LEVEL
ifCOAP_LOG_LEVEL_DEFAULT
&&COAP
&&NETWORKING
depends onCOAP
&&NETWORKING
(Definitions include propagated dependencies, including from if’s and menus.)