Re: [PATCH 1/3] log: Allow LOG_DEBUG to always enable log output

2020-05-15 Thread Tom Rini
On Wed, May 06, 2020 at 08:03:55AM -0600, Simon Glass wrote: > At present if CONFIG_LOG enabled, putting LOG_DEBUG at the top of a file > (before log.h inclusion) causes _log() to be executed for every log() > call, regardless of the build- or run-time logging level. > > However there is no guara

[PATCH 1/3] log: Allow LOG_DEBUG to always enable log output

2020-05-06 Thread Simon Glass
At present if CONFIG_LOG enabled, putting LOG_DEBUG at the top of a file (before log.h inclusion) causes _log() to be executed for every log() call, regardless of the build- or run-time logging level. However there is no guarantee that the log record will actually be displayed. If the current log