xbot/lib/logger.h
2024-03-09 02:40:06 -06:00

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