-
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
Defaults¶
- 0 if
SYS_LOG
&&USB_DEVICE_STACK
Kconfig definition¶
At subsys/usb/Kconfig:17
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/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" ifSYS_LOG
&&USB_DEVICE_STACK
default 0 ifSYS_LOG
&&USB_DEVICE_STACK
depends onSYS_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.)