-
CONFIG_SENSOR_LOG_LEVEL
¶
(No prompt – not directly user assignable.)
Type: int
Defaults¶
0 if
SENSOR_LOG_LEVEL_OFF
1 if
SENSOR_LOG_LEVEL_ERR
2 if
SENSOR_LOG_LEVEL_WRN
3 if
SENSOR_LOG_LEVEL_INF
4 if
SENSOR_LOG_LEVEL_DBG
Kconfig definition¶
At <Zephyr>/subsys/logging/Kconfig.template.log_config:25
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:62
→ <Zephyr>/drivers/sensor/Kconfig:15
Menu path: (Top) → Device Drivers → Sensor Drivers
config SENSOR_LOG_LEVEL int default 0 ifSENSOR_LOG_LEVEL_OFF
default 1 ifSENSOR_LOG_LEVEL_ERR
default 2 ifSENSOR_LOG_LEVEL_WRN
default 3 ifSENSOR_LOG_LEVEL_INF
default 4 ifSENSOR_LOG_LEVEL_DBG
depends onLOG
&&SENSOR
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)