libmetal
lib
system
zephyr
log.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018, Xilinx Inc. and Contributors. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
/*
8
* @file zephyr/log.h
9
* @brief Zephyr libmetal log handler definition.
10
*/
11
12
#ifndef __METAL_METAL_LOG__H__
13
#error "Include metal/log.h instead of metal/zephyr/log.h"
14
#endif
15
16
#ifndef __METAL_ZEPHYR_LOG__H__
17
#define __METAL_ZEPHYR_LOG__H__
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
void
metal_zephyr_log_handler
(
enum
metal_log_level
level,
24
const
char
*format, ...);
25
26
#ifdef __cplusplus
27
}
28
#endif
29
30
#endif
/* __METAL_ZEPHYR_LOG__H__ */
metal_log_level
metal_log_level
Definition:
log.h:23
metal_zephyr_log_handler
void metal_zephyr_log_handler(enum metal_log_level level, const char *format,...)
Definition:
log.c:27
Generated on Fri Feb 1 2019 16:46:45 for libmetal by
1.8.15