frontlib/logging.h
changeset 7155 273ad375d64e
child 7158 a0573014ff4f
equal deleted inserted replaced
7152:f49254ddfc67 7155:273ad375d64e
       
     1 /*
       
     2  * frontlib_internals.h
       
     3  *
       
     4  *  Created on: 30.05.2012
       
     5  *      Author: simmax
       
     6  */
       
     7 
       
     8 #ifndef LOGGING_H_
       
     9 #define LOGGING_H_
       
    10 
       
    11 #include<stdio.h>
       
    12 #include<stdint.h>
       
    13 
       
    14 char* flib_format_ip(uint32_t numip);
       
    15 
       
    16 #define flib_log_e(...) fprintf (stderr, __VA_ARGS__)
       
    17 #define flib_log_w(...) printf(__VA_ARGS__)
       
    18 #define flib_log_i(...) printf(__VA_ARGS__)
       
    19 
       
    20 #endif /* LOGGING_H_ */