Go to the source code of this file.
◆ CONFIG_LOG_DEFAULT_LEVEL
      
        
          | #define CONFIG_LOG_DEFAULT_LEVEL   0U | 
        
      
 
 
◆ CONFIG_LOG_MAX_LEVEL
      
        
          | #define CONFIG_LOG_MAX_LEVEL   0U | 
        
      
 
 
◆ LOG_CURRENT_MODULE_ID
      
        
          | #define LOG_CURRENT_MODULE_ID | 
          ( | 
           | ) | 
           | 
        
      
 
Value:        (__log_level != 0 ? \
        log_const_source_id(__log_current_const_data) : 0U)
 
Macro for getting ID of current module. 
 
 
◆ LOG_FILTER_AGGR_SLOT_GET
◆ LOG_FILTER_AGGR_SLOT_IDX
      
        
          | #define LOG_FILTER_AGGR_SLOT_IDX   0 | 
        
      
 
 
◆ LOG_FILTER_FIRST_BACKEND_SLOT_IDX
      
        
          | #define LOG_FILTER_FIRST_BACKEND_SLOT_IDX   1 | 
        
      
 
 
◆ LOG_FILTER_SLOT_GET
◆ LOG_FILTER_SLOT_MASK
◆ LOG_FILTER_SLOT_SET
      
        
          | #define LOG_FILTER_SLOT_SET | 
          ( | 
            | 
          _filters,  | 
        
        
           | 
           | 
            | 
          _id,  | 
        
        
           | 
           | 
            | 
          _filter  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:        do {                                                         \
        } while (false)
#define LOG_FILTER_SLOT_SHIFT(_id)
Bit offset of a slot.
Definition: log_core.h:360
 
#define LOG_FILTER_SLOT_MASK
Slot mask.
Definition: log_core.h:354
 
 
 
 
◆ LOG_FILTER_SLOT_SHIFT
Bit offset of a slot. 
- Parameters
 - 
  
  
 
 
 
◆ LOG_FILTER_SLOT_SIZE
◆ LOG_FILTERS_NUM_OF_SLOTS
Number of slots in one word. 
 
 
◆ LOG_FUNCTION_PREFIX_MASK
      
        
          | #define LOG_FUNCTION_PREFIX_MASK | 
        
      
 
Value:
          LOG_LEVEL_ERR) | \
          LOG_LEVEL_WRN) | \
          LOG_LEVEL_INF) | \
#define IS_ENABLED(config_macro)
Check for macro definition in compiler-visible expressions.
Definition: util_macro.h:121
 
#define LOG_LEVEL_DBG
Definition: log_core.h:23
 
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
 
 
 
 
◆ LOG_INSTANCE_DYNAMIC_DATA
      
        
          | #define LOG_INSTANCE_DYNAMIC_DATA | 
          ( | 
            | 
          _module_name,  | 
        
        
           | 
           | 
            | 
          _inst  | 
        
        
           | 
          ) | 
           |    	LOG_ITEM_DYNAMIC_DATA(Z_LOG_INSTANCE_FULL_NAME(_module_name, _inst)) | 
        
      
 
 
◆ LOG_ITEM_DYNAMIC_DATA
      
        
          | #define LOG_ITEM_DYNAMIC_DATA | 
          ( | 
            | 
          _name | ) | 
             UTIL_CAT(log_dynamic_, _name) | 
        
      
 
Creates name of variable and section for runtime log data. 
- Parameters
 - 
  
  
 
 
 
◆ LOG_LEVEL_BITS
      
        
          | #define LOG_LEVEL_BITS   3U | 
        
      
 
Number of bits used to encode log level. 
 
 
◆ LOG_LEVEL_DBG
◆ LOG_LEVEL_ERR
◆ LOG_LEVEL_INF
◆ LOG_LEVEL_INTERNAL_RAW_STRING
Log level value used to indicate log entry that should not be formatted (raw string). 
 
 
◆ LOG_LEVEL_NONE
      
        
          | #define LOG_LEVEL_NONE   0U | 
        
      
 
 
◆ LOG_LEVEL_WRN
◆ log2_generic()
  
  
      
        
          | static void log2_generic  | 
          ( | 
          uint8_t  | 
          level,  | 
         
        
           | 
           | 
          const char *  | 
          fmt,  | 
         
        
           | 
           | 
          va_list  | 
          ap  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Writes a generic log message to the logging v2. 
- Note
 - This function is intended to be used when porting other log systems.
 
- Parameters
 - 
  
    | level | Log level..  | 
    | fmt | String to format.  | 
    | ap | Pointer to arguments list.  | 
  
   
 
 
◆ log_const_source_id()
Get index of the log source based on the address of the constant data associated with the source. 
- Parameters
 - 
  
    | data | Address of the constant data. | 
  
   
- Returns
 - Source ID. 
 
 
 
◆ log_dynamic_source_id()
Get index of the log source based on the address of the dynamic data associated with the source. 
- Parameters
 - 
  
    | data | Address of the dynamic data. | 
  
   
- Returns
 - Source ID.