diff options
author | Heinrich Schuchardt | 2021-01-04 08:02:54 +0100 |
---|---|---|
committer | Tom Rini | 2021-01-16 19:17:11 -0500 |
commit | 249679658750d7174bb954598fa10cbfe9195766 (patch) | |
tree | 2965235d1b0442d2b69d3df2bff6cf27fbc71d98 /include/mtd | |
parent | 5176365a6bdadd25afdf293eada911443466931d (diff) |
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 'include/mtd')
0 files changed, 0 insertions, 0 deletions