Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
log_output_dict.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 * Copyright (c) 2021 Intel Corporation
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_DICT_H_
8#define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_DICT_H_
9
12#include <stdarg.h>
13#include <zephyr/toolchain.h>
14#include <zephyr/sys/util.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
26};
27
39} __packed;
40
48} __packed;
49
60 struct log_msg *msg, uint32_t flags);
61
69void log_dict_output_dropped_process(const struct log_output *output, uint32_t cnt);
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif /* ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_DICT_H_ */
uint32_t log_timestamp_t
Definition: log_msg.h:36
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_msg_process(const struct log_output *log_output, struct log_msg *msg, uint32_t flags)
Process log messages v2 for dictionary-based logging.
log_dict_output_msg_type
Log message type.
Definition: log_output_dict.h:23
@ MSG_NORMAL
Definition: log_output_dict.h:24
@ MSG_DROPPED_MSG
Definition: log_output_dict.h:25
flags
Definition: parser.h:96
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
__UINTPTR_TYPE__ uintptr_t
Definition: stdint.h:105
__UINT16_TYPE__ uint16_t
Definition: stdint.h:89
Output for one dictionary based log message about dropped messages.
Definition: log_output_dict.h:45
uint8_t type
Definition: log_output_dict.h:46
uint16_t num_dropped_messages
Definition: log_output_dict.h:47
Output header for one dictionary based log message.
Definition: log_output_dict.h:31
uint32_t package_len
Definition: log_output_dict.h:35
uint32_t level
Definition: log_output_dict.h:34
uint8_t type
Definition: log_output_dict.h:32
uintptr_t source
Definition: log_output_dict.h:37
uint32_t data_len
Definition: log_output_dict.h:36
uint32_t domain
Definition: log_output_dict.h:33
log_timestamp_t timestamp
Definition: log_output_dict.h:38
Definition: log_msg.h:94
Log_output instance structure.
Definition: log_output.h:96
Macros to abstract toolchain specific capabilities.
Misc utilities.