-
CONFIG_MQTT_LOG_LEVEL
¶
(No prompt – not directly user assignable.)
Type: int
Defaults¶
0 if
MQTT_LOG_LEVEL_OFF
|| !NET_LOG
1 if
MQTT_LOG_LEVEL_ERR
2 if
MQTT_LOG_LEVEL_WRN
3 if
MQTT_LOG_LEVEL_INF
4 if
MQTT_LOG_LEVEL_DBG
Kconfig definition¶
At <Zephyr>/subsys/net/Kconfig.template.log_config.net:48
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:37
→ <Zephyr>/subsys/net/Kconfig:89
→ <Zephyr>/subsys/net/lib/Kconfig:10
→ <Zephyr>/subsys/net/lib/mqtt/Kconfig:18
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → Socket MQTT Library Support
config MQTT_LOG_LEVEL int default 0 ifMQTT_LOG_LEVEL_OFF
|| !NET_LOG
default 1 ifMQTT_LOG_LEVEL_ERR
default 2 ifMQTT_LOG_LEVEL_WRN
default 3 ifMQTT_LOG_LEVEL_INF
default 4 ifMQTT_LOG_LEVEL_DBG
defaultLOG_DEFAULT_LEVEL
ifMQTT_LOG_LEVEL_DEFAULT
depends onMQTT_LIB
&&NETWORKING
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)