]> Git Repo - J-u-boot.git/commit
log: allow for message continuation
authorHeinrich Schuchardt <[email protected]>
Sat, 17 Oct 2020 12:31:58 +0000 (14:31 +0200)
committerTom Rini <[email protected]>
Tue, 27 Oct 2020 17:50:53 +0000 (13:50 -0400)
commitd094a0734cee439fc8483118694079c85b1cc3db
treeb6a5c9e77308a964f09b721252d46443807e53f4
parent993a06b6144d54ae2ad83cc25c18acb9d1720ad0
log: allow for message continuation

Some drivers use macro pr_cont() for continuing a message sent via printk.
Hence if we want to convert printk messaging to using the logging system,
we must support continuation of log messages too.

As pr_cont() does not provide a message level we need a means of
remembering the last log level.

With the patch a pseudo log level LOGL_CONT as well as a pseudo log
category LOGC_CONT are introduced. Using these results in the application
of the same log level and category as in the previous log message.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/log.c
doc/develop/logging.rst
include/asm-generic/global_data.h
include/log.h
This page took 0.029121 seconds and 4 git commands to generate.