|
Server 0.0.1
HTTP/REST server implementation
|
00001 00024 #ifndef __LOGGER_INTERFACE_LOGGER_H__ 00025 #define __LOGGER_INTERFACE_LOGGER_H__ 00026 00027 #include <stdarg.h> 00028 00029 #include "class.h" 00030 #include "logger.h" 00031 00032 typedef void (* fptr_log)(void *, logger_level, const char * const); 00033 00034 extern const struct interface i_Logger; 00035 00036 struct i_Logger { 00037 const struct interface * const _; 00038 fptr_log log; 00039 }; 00040 00041 extern void loggerLog(void *, logger_level, const char * const, ...); 00042 00043 #endif // __LOGGER_INTERFACE_LOGGER_H__ 00044 00045 // vim: set ts=4 sw=4: