
8 Jun
2021
8 Jun
'21
11:43 p.m.
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