log: don't show function by default
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 17 Jun 2020 19:52:44 +0000 (21:52 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:57:22 +0000 (18:57 -0600)
commit3c21d7738a793bb7713df5ac4de434c680fa249f
treeed06f563175b03bbecf4a42df12a6b58add6e592
parent8af45b1f20f7f56a872297873f793655fe37f8e3
log: don't show function by default

The name of the function emitting a log message may be of interest for a
developer but is distracting for normal users. See the example below:

    try_load_entry() Booting: Debian

Make the default format for log messages customizable. By default show
only the message text.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/log.c
common/Kconfig
common/log.c
include/log.h
test/log/syslog_test.c
test/py/tests/test_log.py