CONFIG_SYS_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 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

Direct dependencies

SYS_LOG && I2C_SLAVE && I2C

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/i2c/slave/Kconfig:25

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:40drivers/i2c/Kconfig:23

Menu path: (top menu) → Device Drivers → I2C Drivers → I2C Slave Drivers

config SYS_LOG_I2C_SLAVE_LEVEL
    int
    prompt "I2C Slave log level" if SYS_LOG && I2C_SLAVE && I2C
    default 0 if SYS_LOG && I2C_SLAVE && I2C
    depends on SYS_LOG && I2C_SLAVE && 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.)