diff options
Diffstat (limited to 'doc/README.log')
-rw-r--r-- | doc/README.log | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/README.log b/doc/README.log index ba83882..a313399 100644 --- a/doc/README.log +++ b/doc/README.log @@ -78,11 +78,8 @@ Sometimes it is useful to turn on logging just in one file. You can use this: #define LOG_DEBUG to enable building in of all logging statements in a single file. Put it at -the top of the file, before any #includes. - -To actually get U-Boot to output this you need to also set the default logging -level - e.g. set CONFIG_LOG_DEFAULT_LEVEL to 7 (LOGL_DEBUG) or more. Otherwise -debug output is suppressed and will not be generated. +the top of the file, before any #includes. This overrides any log-level setting +in U-Boot, including CONFIG_LOG_DEFAULT_LEVEL, but just for that file. Convenience functions |