xbot/lib/logger.h

20 lines
225 B
C
Raw Normal View History

2024-03-09 08:40:06 +00:00
#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