20 lines
225 B
C
Executable File
20 lines
225 B
C
Executable File
#ifndef LOGGER_H
|
|
#define LOGGER_H
|
|
|
|
#include <stdio.h>
|
|
|
|
struct logger
|
|
{
|
|
FILE *log;
|
|
char log_file[256];
|
|
};
|
|
|
|
extern struct logger logger;
|
|
|
|
void log_init(char *file);
|
|
void log_close();
|
|
|
|
void xlog(char *fmt, ...);
|
|
|
|
#endif
|