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
* SPDX-FileCopyrightText: 2015 Kaspar Schleiser <kaspar@schleiser.de>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
22
23
#include <stdio.h>
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
38
static
inline
void
log_write
(
unsigned
level,
const
char
*format, ...) {
39
(void)level;
40
puts(format);
41
}
42
43
#ifdef __cplusplus
44
}
45
#endif
log_write
#define log_write(level,...)
Default log_write function, just maps to printf.
Definition
log.h:136
Generated on Thu Sep 24 2026 04:06:02 by
1.13.2