Re: [U-Boot] [PATCH v2 04/34] log: Allow #define LOG_DEBUG to enable logging in a file

2019-02-18 Thread Bin Meng
On Sun, Feb 17, 2019 at 11:25 AM Simon Glass 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

[U-Boot] [PATCH v2 04/34] log: Allow #define LOG_DEBUG to enable logging in a file

2019-02-16 Thread Simon Glass
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 --- Chan