Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
log_output_dict.h File Reference
#include <logging/log_output.h>
#include <logging/log_msg2.h>
#include <stdarg.h>
#include <toolchain.h>
#include <sys/util.h>

Go to the source code of this file.

Data Structures

struct  log_dict_output_normal_msg_hdr_t
 
struct  log_dict_output_dropped_msg_t
 

Enumerations

enum  log_dict_output_msg_type { MSG_NORMAL = 0 , MSG_DROPPED_MSG = 1 }
 

Functions

void log_dict_output_msg2_process (const struct log_output *log_output, struct log_msg2 *msg, uint32_t flags)
 Process log messages v2 for dictionary-basde logging. More...
 
void log_dict_output_dropped_process (const struct log_output *output, uint32_t cnt)
 Process dropped messages indication for dictionary-based logging. More...
 

Enumeration Type Documentation

◆ log_dict_output_msg_type

Log message type

Enumerator
MSG_NORMAL 
MSG_DROPPED_MSG 

Function Documentation

◆ log_dict_output_dropped_process()

void log_dict_output_dropped_process ( const struct log_output output,
uint32_t  cnt 
)

Process dropped messages indication for dictionary-based logging.

Function prints error message indicating lost log messages.

Parameters
outputPointer to the log output instance.
cntNumber of dropped messages.

◆ log_dict_output_msg2_process()

void log_dict_output_msg2_process ( const struct log_output log_output,
struct log_msg2 msg,
uint32_t  flags 
)

Process log messages v2 for dictionary-basde logging.

Function is using provided context with the buffer and output function to process formatted string and output the data.

Parameters
log_outputPointer to the log output instance.
msgLog message.
flagsOptional flags.