-
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_FRONTEND
&& !LOG_MINIMAL
&& LOG
(Includes any dependencies from ifs and menus.)
Default¶
y
Kconfig definition¶
At subsys/logging/Kconfig.formatting:40
Included via Kconfig:8
→ Kconfig.zephyr:34
→ subsys/Kconfig:31
→ subsys/logging/Kconfig:21
Menu path: (Top) → Sub Systems and OS Services → Logging → Output Formatting
config LOG_BACKEND_SHOW_COLOR bool "Enable colors in the backend" default y depends on (LOG_BACKEND_UART
||LOG_BACKEND_NATIVE_POSIX
||LOG_BACKEND_RTT
||LOG_BACKEND_SWO
||LOG_BACKEND_XTENSA_SIM
) && !LOG_FRONTEND
&& !LOG_MINIMAL
&&LOG
help When enabled selected backend prints errors in red and warning in yellow.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)