zephyr/tests/subsys/logging
Daniel Leung 060538ee28 logging: fix color being shown even if disabled
If CONFIG_LOG_BACKEND_SHOW_COLOR is disabled, error and warning
lines are still being outputted with color, which is contrary to
what the Kconfig says. So change the color settings for error
and warning lines to no color if this Kconfig is disabled.

The log_output test is also amended to account for this.
Though the test is not skipped as no color is still some colors
(... well... maybe).

Fixes #77150

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-09-02 09:07:19 +02:00
..
dictionary tests: logging/dictionary: limit allowed platforms 2024-08-27 15:21:31 -04:00
log_api tests: logging: log_api: Fix logging.frontend.only.rt_filtering 2024-07-09 14:01:56 +02:00
log_backend_fs
log_backend_init
log_backend_uart emul: Support UART device emulation 2024-07-30 18:28:17 +01:00
log_benchmark build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
log_blocking
log_cache
log_core_additional logging: add API to trigger immediate processing of logs 2024-05-13 16:06:11 -04:00
log_custom_header
log_immediate
log_link_order
log_links test: Apply semantic patch file ztest_strcmp.cocci 2024-06-14 19:25:42 +02:00
log_msg
log_output logging: fix color being shown even if disabled 2024-09-02 09:07:19 +02:00
log_stack
log_stress
log_switch_format
log_syst
log_timestamp test: Apply semantic patch file ztest_strcmp.cocci 2024-06-14 19:25:42 +02:00