Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
log_module.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
24
#ifndef LOG_MODULE_H
25
#define LOG_MODULE_H
26
27
#include <
stdio.h
>
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
42
static
inline
void
log_write
(
unsigned
level,
const
char
*format, ...) {
43
(void)level;
44
puts(format);
45
}
46
47
#ifdef __cplusplus
48
}
49
#endif
51
#endif
/* LOG_MODULE_H */
log_write
#define log_write(level,...)
Default log_write function, just maps to printf.
Definition
log.h:106
stdio.h
stdio wrapper to extend the C libs stdio
Generated on Sat Nov 23 2024 01:58:06 by
1.9.8