
18 Jan
2021
18 Jan
'21
2:02 p.m.
On Mon, Jan 04, 2021 at 08:02:54AM +0100, Heinrich Schuchardt wrote:
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
Applied to u-boot/master, thanks!
--
Tom