Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
log_instance.h File Reference
#include <zephyr/types.h>

Go to the source code of this file.

Data Structures

struct  log_source_const_data
 Constant data associated with the source of log messages. More...
 
struct  log_source_dynamic_data
 Dynamic data associated with the source of log messages. More...
 

Macros

#define LOG_ITEM_CONST_DATA(_name)   UTIL_CAT(log_const_, _name)
 Creates name of variable and section for constant log data. More...
 
#define LOG_INSTANCE_PTR_DECLARE(_name)   /* empty */
 Macro for declaring a logger instance pointer in the module structure. More...
 
#define LOG_INSTANCE_REGISTER(_module_name, _inst_name, _level)   /* empty */
 Macro for registering instance for logging with independent filtering. More...
 
#define LOG_INSTANCE_PTR_INIT(_name, _module_name, _inst_name)   /* empty */
 Macro for initializing a pointer to the logger instance. More...
 

Macro Definition Documentation

◆ LOG_INSTANCE_PTR_DECLARE

#define LOG_INSTANCE_PTR_DECLARE (   _name)    /* empty */

Macro for declaring a logger instance pointer in the module structure.

◆ LOG_INSTANCE_PTR_INIT

#define LOG_INSTANCE_PTR_INIT (   _name,
  _module_name,
  _inst_name 
)    /* empty */

Macro for initializing a pointer to the logger instance.

◆ LOG_INSTANCE_REGISTER

#define LOG_INSTANCE_REGISTER (   _module_name,
  _inst_name,
  _level 
)    /* empty */

Macro for registering instance for logging with independent filtering.

Module instance provides filtering of logs on instance level instead of module level.

◆ LOG_ITEM_CONST_DATA

#define LOG_ITEM_CONST_DATA (   _name)    UTIL_CAT(log_const_, _name)

Creates name of variable and section for constant log data.

Parameters
_nameName.