Zephyr Project API  3.3.0
A Scalable Open Source RTOS
log_output_custom.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Converge
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_CUSTOM_H_
7#define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_CUSTOM_H_
8
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
31 struct log_msg *msg, uint32_t flags);
32
38
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_CUSTOM_H_ */
void log_custom_output_msg_set(log_format_func_t format)
Set the formatting log function that will be applied with LOG_OUTPUT_CUSTOM.
void(* log_format_func_t)(const struct log_output *output, struct log_msg *msg, uint32_t flags)
Typedef of the function pointer table "format_table".
Definition: log_output.h:105
void log_custom_output_msg_process(const struct log_output *log_output, struct log_msg *msg, uint32_t flags)
Custom logging output formatting.
flags
Definition: parser.h:96
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
Definition: log_msg.h:88
Log_output instance structure.
Definition: log_output.h:89
static void msg(uint64_t c64)
Definition: main.c:17