CONFIG_LOG_I2C_SLAVE_LEVEL

I2C Slave log level

Type: int

Help

Sets log level for I2C drivers. Levels are: - 0 OFF, do not write - 1 ERROR, only write LOG_ERR - 2 WARNING, write LOG_WRN in addition to previous level - 3 INFO, write LOG_INF in addition to previous levels - 4 DEBUG, write LOG_DBG in addition to previous levels

Direct dependencies

LOG && I2C_SLAVE && I2C

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At drivers/i2c/slave/Kconfig:25

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:38drivers/i2c/Kconfig:24

Menu path: (Top) → Device Drivers → I2C Drivers → I2C Slave Drivers

config LOG_I2C_SLAVE_LEVEL
    int "I2C Slave log level"
    default 0
    depends on LOG && I2C_SLAVE && I2C
    help
      Sets log level for I2C drivers.
      Levels are:
      - 0 OFF, do not write
      - 1 ERROR, only write LOG_ERR
      - 2 WARNING, write LOG_WRN in addition to previous level
      - 3 INFO, write LOG_INF in addition to previous levels
      - 4 DEBUG, write LOG_DBG in addition to previous levels

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)