Zephyr API 3.6.99
Loading...
Searching...
No Matches
log.h File Reference

Go to the source code of this file.

Macros

#define LOG_ERR(...)
 Writes an ERROR level message to the log.
 
#define LOG_WRN(...)
 Writes a WARNING level message to the log.
 
#define LOG_INF(...)
 Writes an INFO level message to the log.
 
#define LOG_DBG(...)
 Writes a DEBUG level message to the log.
 
#define LOG_WRN_ONCE(...)
 Writes a WARNING level message to the log on the first execution only.
 
#define LOG_PRINTK(...)
 Unconditionally print raw log message.
 
#define LOG_RAW(...)
 Unconditionally print raw log message.
 
#define LOG_INST_ERR(_log_inst, ...)
 Writes an ERROR level message associated with the instance to the log.
 
#define LOG_INST_WRN(_log_inst, ...)
 Writes a WARNING level message associated with the instance to the log.
 
#define LOG_INST_INF(_log_inst, ...)
 Writes an INFO level message associated with the instance to the log.
 
#define LOG_INST_DBG(_log_inst, ...)
 Writes a DEBUG level message associated with the instance to the log.
 
#define LOG_HEXDUMP_ERR(_data, _length, _str)
 Writes an ERROR level hexdump message to the log.
 
#define LOG_HEXDUMP_WRN(_data, _length, _str)
 Writes a WARNING level message to the log.
 
#define LOG_HEXDUMP_INF(_data, _length, _str)
 Writes an INFO level message to the log.
 
#define LOG_HEXDUMP_DBG(_data, _length, _str)
 Writes a DEBUG level message to the log.
 
#define LOG_INST_HEXDUMP_ERR(_log_inst, _data, _length, _str)
 Writes an ERROR hexdump message associated with the instance to the log.
 
#define LOG_INST_HEXDUMP_WRN(_log_inst, _data, _length, _str)
 Writes a WARNING level hexdump message associated with the instance to the log.
 
#define LOG_INST_HEXDUMP_INF(_log_inst, _data, _length, _str)
 Writes an INFO level hexdump message associated with the instance to the log.
 
#define LOG_INST_HEXDUMP_DBG(_log_inst, _data, _length, _str)
 Writes a DEBUG level hexdump message associated with the instance to the log.
 
#define LOG_MODULE_REGISTER(...)
 Create module-specific state and register the module with Logger.
 
#define LOG_MODULE_DECLARE(...)
 Macro for declaring a log module (not registering it).
 
#define LOG_LEVEL_SET(level)
 Macro for setting log level in the file or function where instance logging API is used.