Blame view

include/interface/logger.h 461 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#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;
};
18
extern void loggerLog(void *, logger_level, const char * const, ...);
19 20 21 22

#endif // __INTERFACE_LOGGER_H__

// vim: set ts=4 sw=4: