--- hatari/src/debug/log.h 2019/04/09 08:58:02 1.1.1.9 +++ hatari/src/debug/log.h 2019/04/09 08:59:17 1.1.1.10 @@ -63,12 +63,16 @@ typedef enum LOG_NONE /* invalid LOG level */ } LOGTYPE; +#define LOG_NAMES {"FATAL", "ERROR", "WARN ", "INFO ", "TODO ", "DEBUG"} + + #ifndef __GNUC__ /* assuming attributes work only for GCC */ #define __attribute__(foo) #endif extern void Log_Default(void); +extern void Log_SetLevels(void); extern int Log_Init(void); extern int Log_SetAlertLevel(int level); extern void Log_UnInit(void);