[PATCH 3/5] log: provide missing macros

Tom Rini trini at konsulko.com
Mon Jan 18 14:02:35 CET 2021

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 at gmx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/2ee5fcc6/attachment.sig>

More information about the U-Boot mailing list