server 0.0.1
basicserverinfrastructure

include/interface/logger.h

Go to the documentation of this file.
00001 #ifndef __INTERFACE_LOGGER_H__
00002 #define __INTERFACE_LOGGER_H__
00003 
00004 #include <stdarg.h>
00005 
00006 #include "interface.h"
00007 #include "logger.h"
00008 
00009 typedef void (* fptr_log)(void *, logger_level, const char * const);
00010 
00011 extern const struct interface i_Logger;
00012 
00013 struct i_Logger {
00014         const struct interface * const _;
00015         fptr_log                       log;
00016 };
00017 
00018 extern void loggerLog(void *, logger_level, const char * const, ...);
00019 
00020 #endif // __INTERFACE_LOGGER_H__
00021 
00022 // vim: set ts=4 sw=4:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines