CONFIG_SYS_LOG_USB_DEVICE_LEVEL

Sets log level for the USB device stack

Type: int

Help

This option sets log level for the USB device stack.

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

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

Defaults

Kconfig definition

At subsys/usb/Kconfig:17

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:26

Menu path: (top menu) → USB device stack

config SYS_LOG_USB_DEVICE_LEVEL
    int
    prompt "Sets log level for the USB device stack" if SYS_LOG && USB_DEVICE_STACK
    default 0 if SYS_LOG && USB_DEVICE_STACK
    depends on SYS_LOG && USB_DEVICE_STACK
    help
      This option sets log level for the USB device stack.

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