Used for kernel debugging.
Warning about a significant issue.
void logvf(loglevel_t level, const char *format, va_list args)
Log a printf-formatted string using a variable argument list.
void log(loglevel_t level, const char *str)
Log a message to the kernel log buffer.
void logf(loglevel_t level, const char *format,...)
Log a printf-formatted message to the kernel log buffer.
void log_removecallback(log_callback cb)
Remove a callback handler for log messages.
Critical error, occurs just prior to crashing.
loglevel_t
A log level indicates the importance of a logged message.
void(* log_callback)(loglevel_t level, const char *msg)
Callback handler called when a message is logged.
Default kernel logging level.
Serious error in software or hardware.
void log_addcallback(loglevel_t maxlevel, log_callback cb)
Add a callback handler for log messages.