commit | f9811e8575eb42e75c615ba9b44f0481cdb78330 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Feb 16 20:24:37 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed Feb 20 15:21:44 2019 +0800 |
tree | 8eb5ef4d0bb4529d4bb2d017310881023e8273b7 | |
parent | 8dee7b96fd6eaea54400aaf317f72aac9b323b58 [diff] |
log: Allow #define LOG_DEBUG to enable logging in a file 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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>