[PATCH v4 0/2] log: Allow multiple lines and conversion to printf()

Tom Rini trini at konsulko.com
Tue Jun 8 23:43:09 CEST 2021


On Sat, May 08, 2021 at 01:46:52PM -0600, Simon Glass wrote:

> At present when logging is not enabled, all log() calls become nops. This
> does not seem right, since if the log level is high enough then there
> should be some sort of message. So in that case, this series updates it to
> print the message if the log level is above LOGL_INFO.
> 
> This mimics the behaviour for the log_...() macros like log_debug() and
> log_info(), so we can drop the special case for these.
> 
> Also the current implementation does not support multiple log calls on the
> same line nicely. The tags are repeated so the line is very hard to read.
> This series adds that as a new feature.

For the series, applied to u-boot/next, thanks!

-- 
Tom
-------------- 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/20210608/94cc162f/attachment.sig>


More information about the U-Boot mailing list