diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-04 08:02:54 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-16 19:17:11 -0500 |
commit | 249679658750d7174bb954598fa10cbfe9195766 (patch) | |
tree | 2965235d1b0442d2b69d3df2bff6cf27fbc71d98 /env | |
parent | 5176365a6bdadd25afdf293eada911443466931d (diff) | |
download | u-boot-249679658750d7174bb954598fa10cbfe9195766.tar.gz u-boot-249679658750d7174bb954598fa10cbfe9195766.tar.bz2 u-boot-249679658750d7174bb954598fa10cbfe9195766.zip |
log: provide missing macros
With commit d094a0734cee ("log: allow for message continuation") we have
defined a special log level and category for message continuation. Let's
have a macro for using these.
If logging is enabled log_cont() will create a continuation log output with
the same logging level and category as the previous message.
If logging is not enabled, log_cont() will print like printf().
Provide macros for logging levels LOG_EMERG, LOG_ALERT, LOG_CRIT.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
0 files changed, 0 insertions, 0 deletions