Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
log_frontend.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef LOG_FRONTEND_H_
7#define LOG_FRONTEND_H_
8
9#include <logging/log_core.h>
10
14
20void log_frontend_0(const char *str, struct log_msg_ids src_level);
21
28void log_frontend_1(const char *str,
29 log_arg_t arg0,
30 struct log_msg_ids src_level);
31
39void log_frontend_2(const char *str,
40 log_arg_t arg0,
41 log_arg_t arg1,
42 struct log_msg_ids src_level);
43
52void log_frontend_3(const char *str,
53 log_arg_t arg0,
54 log_arg_t arg1,
55 log_arg_t arg2,
56 struct log_msg_ids src_level);
57
65void log_frontend_n(const char *str,
66 log_arg_t *args,
67 uint32_t narg,
68 struct log_msg_ids src_level);
69
77void log_frontend_hexdump(const char *str,
78 const uint8_t *data,
79 uint32_t length,
80 struct log_msg_ids src_level);
81
82
83#endif /* LOG_FRONTEND_H_ */
unsigned long log_arg_t
Log argument type.
Definition: log_msg.h:29
void log_frontend_0(const char *str, struct log_msg_ids src_level)
Standard log with no arguments.
void log_frontend_hexdump(const char *str, const uint8_t *data, uint32_t length, struct log_msg_ids src_level)
Hexdump log.
void log_frontend_init(void)
Initialize frontend.
void log_frontend_1(const char *str, log_arg_t arg0, struct log_msg_ids src_level)
Standard log with one argument.
void log_frontend_n(const char *str, log_arg_t *args, uint32_t narg, struct log_msg_ids src_level)
Standard log with arguments list.
void log_frontend_2(const char *str, log_arg_t arg0, log_arg_t arg1, struct log_msg_ids src_level)
Standard log with two arguments.
void log_frontend_3(const char *str, log_arg_t arg0, log_arg_t arg1, log_arg_t arg2, struct log_msg_ids src_level)
Standard log with three arguments.
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT8_TYPE__ uint8_t
Definition: stdint.h:58
Part of log message header identifying source and level.
Definition: log_msg.h:85
static fdata_t data[2]
Definition: test_fifo_contexts.c:15