Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
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
10#include <logging/log_output.h>
11#include <logging/log_msg2.h>
12#include <stdarg.h>
13#include <toolchain.h>
14#include <sys/util.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
26};
27
39} __packed;
40
48} __packed;
49
60 struct log_msg2 *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_ */
flags
Definition: http_parser.h:131
uint32_t log_timestamp_t
Definition: log_msg2.h:34
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_msg2_process(const struct log_output *log_output, struct log_msg2 *msg, uint32_t flags)
Process log messages v2 for dictionary-basde logging.
log_dict_output_msg_type
Definition: log_output_dict.h:23
@ MSG_NORMAL
Definition: log_output_dict.h:24
@ MSG_DROPPED_MSG
Definition: log_output_dict.h:25
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT8_TYPE__ uint8_t
Definition: stdint.h:58
__UINTPTR_TYPE__ uintptr_t
Definition: stdint.h:75
__UINT16_TYPE__ uint16_t
Definition: stdint.h:59
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
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_msg2.h:105
Log_output instance structure.
Definition: log_output.h:76
Macros to abstract toolchain specific capabilities.
Misc utilities.