mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
8af45b1f20
commit
3c21d7738a
6 changed files with 54 additions and 10 deletions
|
@ -39,6 +39,8 @@ def test_log(u_boot_console):
|
|||
Returns:
|
||||
iterator containing the lines output from the command
|
||||
"""
|
||||
output = u_boot_console.run_command('log format fm')
|
||||
assert output == ''
|
||||
with cons.log.section('basic'):
|
||||
output = u_boot_console.run_command('log test %d' % testnum)
|
||||
split = output.replace('\r', '').splitlines()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue