9 #define ATTR_FORMAT(stringindex, firsttocheck) __attribute__((format(printf, stringindex, firsttocheck)))
11 #define ATTR_FORMAT(stringindex, firsttocheck)
14 void lognotice(char const *fmt, ...) ATTR_FORMAT(1,2);
15 void logerror(char const *fmt, ...) ATTR_FORMAT(1,2);
16 void fatal(char const *fmt, ...) ATTR_FORMAT(1,2);
19 void logdebug(char const *fmt, ...) ATTR_FORMAT(1,2);
21 static inline void logdebug(char const * fmt, ...) ATTR_FORMAT(1,2);
22 static inline void logdebug(char const * fmt, ...) {}