On Mon, 4 Jan 2021 at 00:03, Heinrich Schuchardt <xypron.g...@gmx.de> 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.g...@gmx.de> > --- > include/log.h | 8 ++++++++ > 1 file changed, 8 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>