changeset 7155 | 273ad375d64e |
child 7158 | a0573014ff4f |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/frontlib/logging.h Thu May 31 00:35:06 2012 +0200 @@ -0,0 +1,20 @@ +/* + * 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__) + +#endif /* LOGGING_H_ */