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

2019-02-16 Thread Simon Glass
Hi BIn, On Wed, 13 Feb 2019 at 10:36, Bin Meng wrote: > > Hi Simon, > > On Tue, Jan 22, 2019 at 9:14 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

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

2019-02-13 Thread Bin Meng
Hi Simon, On Tue, Jan 22, 2019 at 9:14 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

[U-Boot] [PATCH 03/33] log: Allow #define LOG_DEBUG to enable logging in a file

2019-01-21 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 ---