#ifndef __INTERFACE_LOGGER_H__ #define __INTERFACE_LOGGER_H__ #include #include "interface.h" #include "logger.h" typedef void (* fptr_log)(void *, logger_level, const char * const); extern const struct interface i_Logger; struct i_Logger { const struct interface * const _; fptr_log log; }; extern void loggerLog(void *, logger_level, const char * const, ...); #endif // __INTERFACE_LOGGER_H__ // vim: set ts=4 sw=4: