Lines Matching refs:log

34 Logging can come from a wide variety of places within U-Boot. Each log message
46 * CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled
48 * CONFIG_LOG_CONSOLE - Enable writing log records to the console
92 log(category, level, format_string, ...)
94 Also debug() and error() will generate log records - these use LOG_CATEGORY
98 Generally each log format_string ends with a newline. If it does not, then the
99 next log statement will have the LOGRECF_CONT flag set. This can be used to
121 This will write a log record when an error code is detected (a value < 0). This
151 With these the log level is implicit in the name. The category is set by
164 Remember that all uclasses IDs are log categories too.
182 Filters are attached to log drivers to control what those drivers emit. FIlters
183 can either allow or deny a log message when they match it. Only records which
188 * minimum or maximum log level
198 The 'log' command provides access to several features:
200 * level - list log levels or set the default log level
201 * categories - list log categories
202 * drivers - list log drivers
206 * format - access the console log format
207 * rec - output a log record
209 Type 'help log' for details.
214 You can control the log format using the 'log format' command. The basic
219 In the above, file.c:123 is the filename where the log record was generated and
220 func() is the function name. By default ('log format default') only the message
227 To add new filters at runtime, use the 'log filter-add' command. For example, to
230 log filter-add -D -c spi -c mmc
235 log filter-add -A -l info
238 disable all debug and above (log level 7) messages from ``drivers/core/lists.c``
241 log filter-add -D -f drivers/core/lists.c,drivers/core/ofnode.c -L 7
243 To view active filters, use the 'log filter-list' command. Some example output
246 => log filter-list
256 information, consult the usage of the 'log' command, by running 'help log'.
277 implemented! If you do one, please add a test in test/log/log_test.c
278 log filter-add -D -f drivers/core/lists.c,drivers/core/ofnode.c -l 6
291 Convert debug() statements in the code to log() statements
293 Convert error() statements in the code to log() statements
297 Add a way to browse log records
299 Add a way to record log records for browsing using an external tool
301 Add commands to add and remove log devices
303 Allow sharing of printf format strings in log records to reduce storage size
304 for large numbers of log records
306 Consider making log() calls emit an automatic newline, perhaps with a logn()
309 Passing log records through to linux (e.g. via device tree /chosen)
311 Provide a command to access the number of log records generated, and the
312 number dropped due to them being generated before the log system was ready.
314 Add a printf() format string pragma so that log statements are checked properly
316 Add a command to delete existing log records.