-
CONFIG_LOG_BACKEND_SHOW_COLOR
¶
Enable colors in the backend
Type: bool
Help¶
When enabled selected backend prints errors in red and warning in yellow.
Direct dependencies¶
(LOG_BACKEND_UART
|| LOG_BACKEND_NATIVE_POSIX
|| LOG_BACKEND_RTT
|| LOG_BACKEND_SWO
|| LOG_BACKEND_XTENSA_SIM
) && LOG
(Includes any dependencies from if’s and menus.)
Defaults¶
- “y” if (
LOG_BACKEND_UART
||LOG_BACKEND_NATIVE_POSIX
||LOG_BACKEND_RTT
||LOG_BACKEND_SWO
||LOG_BACKEND_XTENSA_SIM
) &&LOG
Kconfig definition¶
At subsys/logging/Kconfig:409
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:20
Menu path: (top menu) → Logging
config LOG_BACKEND_SHOW_COLOR bool prompt "Enable colors in the backend" if (LOG_BACKEND_UART
||LOG_BACKEND_NATIVE_POSIX
||LOG_BACKEND_RTT
||LOG_BACKEND_SWO
||LOG_BACKEND_XTENSA_SIM
) &&LOG
default "y" if (LOG_BACKEND_UART
||LOG_BACKEND_NATIVE_POSIX
||LOG_BACKEND_RTT
||LOG_BACKEND_SWO
||LOG_BACKEND_XTENSA_SIM
) &&LOG
depends on (LOG_BACKEND_UART
||LOG_BACKEND_NATIVE_POSIX
||LOG_BACKEND_RTT
||LOG_BACKEND_SWO
||LOG_BACKEND_XTENSA_SIM
) &&LOG
help When enabled selected backend prints errors in red and warning in yellow.
(Definitions include propagated dependencies, including from if’s and menus.)