-
CONFIG_SENSOR_LOG_LEVEL
¶
(No prompt – not directly user assignable.)
Type: int
Defaults¶
- 0 if
SENSOR_LOG_LEVEL_OFF
&&LOG
&&SENSOR
- 1 if
SENSOR_LOG_LEVEL_ERR
&&LOG
&&SENSOR
- 2 if
SENSOR_LOG_LEVEL_WRN
&&LOG
&&SENSOR
- 3 if
SENSOR_LOG_LEVEL_INF
&&LOG
&&SENSOR
- 4 if
SENSOR_LOG_LEVEL_DBG
&&LOG
&&SENSOR
Kconfig definition¶
At subsys/logging/Kconfig.template.log_config:25
Included via Kconfig:10
→ Kconfig.zephyr:35
→ drivers/Kconfig:62
→ drivers/sensor/Kconfig:18
Menu path: (top menu) → Device Drivers → Sensor Drivers
config SENSOR_LOG_LEVEL int default 0 ifSENSOR_LOG_LEVEL_OFF
&&LOG
&&SENSOR
default 1 ifSENSOR_LOG_LEVEL_ERR
&&LOG
&&SENSOR
default 2 ifSENSOR_LOG_LEVEL_WRN
&&LOG
&&SENSOR
default 3 ifSENSOR_LOG_LEVEL_INF
&&LOG
&&SENSOR
default 4 ifSENSOR_LOG_LEVEL_DBG
&&LOG
&&SENSOR
depends onLOG
&&SENSOR
(Definitions include propagated dependencies, including from if’s and menus.)