-
CONFIG_SYS_LOG_I2C_LEVEL
¶
I2C log level
Type: int
Help¶
Sets log level for I2C drivers. Levels are: - 0 OFF, do not write - 1 ERROR, only write SYS_LOG_ERR - 2 WARNING, write SYS_LOG_WRN in addition to previous level - 3 INFO, write SYS_LOG_INF in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
Kconfig definition¶
At drivers/i2c/Kconfig:37
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:40
Menu path: (top menu) → Device Drivers → I2C Drivers
config SYS_LOG_I2C_LEVEL int prompt "I2C log level" ifSYS_LOG
&&I2C
default 0 ifSYS_LOG
&&I2C
depends onSYS_LOG
&&I2C
help Sets log level for I2C drivers. Levels are: - 0 OFF, do not write - 1 ERROR, only write SYS_LOG_ERR - 2 WARNING, write SYS_LOG_WRN in addition to previous level - 3 INFO, write SYS_LOG_INF in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
(Definitions include propagated dependencies, including from if’s and menus.)