Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
9
#pragma once
10
26
#include <stdio.h>
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
41
static
inline
void
log_write
(
unsigned
level,
const
char
*format, ...) {
42
(void)level;
43
puts(format);
44
}
45
46
#ifdef __cplusplus
47
}
48
#endif
log_write
void log_write(unsigned level, const char *format,...)
log_write overridden function for colored output
Generated on Mon Jun 30 2025 14:58:01 by
1.9.1