You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
468 B
22 lines
468 B
#ifndef __INTERFACE_LOGGER_H__
|
|
#define __INTERFACE_LOGGER_H__
|
|
|
|
#include <stdarg.h>
|
|
|
|
#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 inline void loggerLog(void *, logger_level, const char * const, ...);
|
|
|
|
#endif // __INTERFACE_LOGGER_H__
|
|
|
|
// vim: set ts=4 sw=4:
|