commit | e0144f2ae9115429b73ad57dce8607e669e34f60 | [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 | abe52cdc63c1236ed240a9f0de38a9b369289984 [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>