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

Kconfig definition

At subsys/logging/Kconfig:409

Included via Kconfig:10Kconfig.zephyr:39subsys/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.)