CONFIG_SYS_LOG_LED_LEVEL

LED system log level

Type: int

Help

Sets the log level for LED drivers. You must have system logging enabled.

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 && LED

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

Defaults

Kconfig definition

At drivers/led/Kconfig:16

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:80

Menu path: (top menu) → Device Drivers → LED drivers

config SYS_LOG_LED_LEVEL
    int
    prompt "LED system log level" if SYS_LOG && LED
    range 0 4 if SYS_LOG && LED
    default 0 if SYS_LOG && LED
    depends on SYS_LOG && LED
    help
      Sets the log level for LED drivers. You must have
      system logging enabled.

      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.)