1 #ifndef __SIMPLE_LOGGER__ 2 #define __SIMPLE_LOGGER__ 36 #define slog(...) _slog(__FILE__,__LINE__,__VA_ARGS__) 37 void _slog(
char *f,
int l,
char *msg,...);
void _slog(char *f, int l, char *msg,...)
void init_logger(const char *log_file_path)
initializes the simple logger. Will automatically cleanup at program exit.