There are a number logging levels available.
-.. kernel-doc:: include/log.h
- :identifiers: log_level_t
+See enum :c:type:`log_level_t`
Logging category
----------------
has a category which is intended to allow messages to be filtered according to
their source.
-.. kernel-doc:: include/log.h
- :identifiers: log_category_t
+See enum :c:type:`log_category_t`
Enabling logging
----------------
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 (:c:type:`LOGL_DEBUG`) or more.
+level - e.g. set CONFIG_LOG_DEFAULT_LEVEL to 7 (:c:data:`LOGL_DEBUG`) or more.
Otherwise debug output is suppressed and will not be generated.
Using DEBUG
Add a printf() format string pragma so that log statements are checked properly
Add a command to delete existing log records.
-
-Logging API
------------
-.. kernel-doc:: include/log.h
- :internal: