aboutsummaryrefslogtreecommitdiff
path: root/doc/develop/logging.rst
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-27 11:32:23 -0500
committerTom Rini <trini@konsulko.com>2021-01-27 11:32:23 -0500
commit290e40b2aa96e13b19292d81146063e036028931 (patch)
tree29b41052270f4a5c2ff648579e3c9924cbd71532 /doc/develop/logging.rst
parente6738b56e6799a67c0286fcceff9a7db7c006c7b (diff)
parent25be4d336fa994a17070f5a810f4dd6219b2c993 (diff)
downloadu-boot-290e40b2aa96e13b19292d81146063e036028931.zip
u-boot-290e40b2aa96e13b19292d81146063e036028931.tar.gz
u-boot-290e40b2aa96e13b19292d81146063e036028931.tar.bz2
Merge tag 'doc-2021-04-rc1-3' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for documentation tag doc-2021-04-rc1-3 Update the build system for the HTML documentation to allow using Sphinx 3. Man-page for exception command.
Diffstat (limited to 'doc/develop/logging.rst')
-rw-r--r--doc/develop/logging.rst13
1 files changed, 3 insertions, 10 deletions
diff --git a/doc/develop/logging.rst b/doc/develop/logging.rst
index 7fdd113..60c18c5 100644
--- a/doc/develop/logging.rst
+++ b/doc/develop/logging.rst
@@ -26,8 +26,7 @@ Logging levels
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
----------------
@@ -36,8 +35,7 @@ Logging can come from a wide variety of places within U-Boot. Each log message
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
----------------
@@ -67,7 +65,7 @@ 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 (: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
@@ -290,8 +288,3 @@ number dropped due to them being generated before the log system was ready.
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: