[U-Boot] [PATCH v2 04/34] log: Allow #define LOG_DEBUG to enable logging in a file
bmeng.cn at gmail.com
Mon Feb 18 09:45:38 UTC 2019
On Sun, Feb 17, 2019 at 11:25 AM Simon Glass <sjg at chromium.org> wrote:
> At present it is possible to '#define DEBUG' at the top of a file which
> causes all debug() statements in that file to become active. There is
> currently no equivalent with logging, but this is a useful function.
> Add a LOG_DEBUG define along with documentation.
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Changes in v2:
> - Add a note as to why the default log level must be set to LOGL_DEBUG
> doc/README.log | 15 +++++++++++++++
> include/log.h | 7 ++++++-
> 2 files changed, 21 insertions(+), 1 deletion(-)
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot