coreboot-kgpe-d16/src/console
Igor Bagnucki f0d65213c0 src/console/Kconfig: Add option to disable loglevel prefix
This patch adds an option to disable loglevel prefixes. This patch helps
to achieve clear messages when low loglevel is used and very few
messages are displayed on a terminal. This option also allows to
maintain compatibility with log readers and continuous integration
systems that depend on fixed log content.

If the code contains:
  printk(BIOS_DEBUG, "This is a debug message!\n")
it will show as:
  [DEBUG]  This is a debug message!
but if the Kconfig contains:
  CONFIG_CONSOLE_USE_LOGLEVEL_PREFIX=n
the same message will show up as
  This is a debug message!

Signed-off-by: Igor Bagnucki <igor.bagnucki@3mdeb.com>
Change-Id: I911bb601cf1933a4c6498b2ae1e4cb4d4bc85621
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63144
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2022-03-30 00:02:34 +00:00
..
console.c console: Add compile-time fast path when only CBMEM console is used 2022-02-07 23:28:46 +00:00
die.c
hw-debug_sink.adb console/hw-debug_sink: Update for fast/slow console distinction 2021-08-04 15:15:45 +00:00
hw-debug_sink.ads
init.c console: Add Kconfig to dump pre-bootblock cbmem contents 2022-01-17 15:46:35 +00:00
Kconfig src/console/Kconfig: Add option to disable loglevel prefix 2022-03-30 00:02:34 +00:00
Makefile.inc
post.c console/post: Lower post code loglevel to BIOS_INFO 2022-02-09 17:38:39 +00:00
printk.c src/console/Kconfig: Add option to disable loglevel prefix 2022-03-30 00:02:34 +00:00
vsprintf.c
vtxprintf.c Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00