sdl-audio/log.h

18 lines
236 B
C

// Chat GPT code
#ifndef LOG_H
#define LOG_H
#define LOG_MAX_REPEAT 5
typedef enum {
LOG_INFO,
LOG_WARNING,
LOG_ERROR
} LogLevel;
const char* get_current_time();
void log_message(LogLevel level, const char* format, ...);
#endif