Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
#include <zephyr/logging/log_output.h>
#include <zephyr/logging/log_msg.h>
#include <stdarg.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/util.h>
Go to the source code of this file.
Data Structures | |
struct | log_dict_output_normal_msg_hdr_t |
Output header for one dictionary based log message. More... | |
struct | log_dict_output_dropped_msg_t |
Output for one dictionary based log message about dropped messages. More... | |
Enumerations | |
enum | log_dict_output_msg_type { MSG_NORMAL = 0 , MSG_DROPPED_MSG = 1 } |
Log message type. More... | |
Functions | |
void | log_dict_output_msg_process (const struct log_output *log_output, struct log_msg *msg, uint32_t flags) |
Process log messages v2 for dictionary-based logging. | |
void | log_dict_output_dropped_process (const struct log_output *output, uint32_t cnt) |
Process dropped messages indication for dictionary-based logging. | |
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.
output | Pointer to the log output instance. |
cnt | Number of dropped messages. |
void log_dict_output_msg_process | ( | const struct log_output * | log_output, |
struct log_msg * | msg, | ||
uint32_t | flags | ||
) |
Process log messages v2 for dictionary-based logging.
Function is using provided context with the buffer and output function to process formatted string and output the data.
log_output | Pointer to the log output instance. |
msg | Log message. |
flags | Optional flags. |