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 
23 #ifndef LOG_FORMAT_H
24 #define LOG_FORMAT_H
25 
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
49 
50 #endif /* LOG_FORMAT_H */
static void log_write(unsigned level, const char *format,...)
log_write overridden function
Definition: log_module.h:41
stdio.h wrapper for MSP430