frontlib/logging.h
changeset 7158 a0573014ff4f
parent 7155 273ad375d64e
--- a/frontlib/logging.h	Thu May 31 00:35:06 2012 +0200
+++ b/frontlib/logging.h	Thu May 31 18:32:01 2012 +0200
@@ -1,20 +1,16 @@
 /*
- * frontlib_internals.h
  *
- *  Created on: 30.05.2012
- *      Author: simmax
  */
 
 #ifndef LOGGING_H_
 #define LOGGING_H_
 
-#include<stdio.h>
 #include<stdint.h>
 
 char* flib_format_ip(uint32_t numip);
 
-#define flib_log_e(...) fprintf (stderr, __VA_ARGS__)
-#define flib_log_w(...) printf(__VA_ARGS__)
-#define flib_log_i(...) printf(__VA_ARGS__)
+void flib_log_e(const char *fmt, ...);
+void flib_log_w(const char *fmt, ...);
+void flib_log_i(const char *fmt, ...);
 
 #endif /* LOGGING_H_ */