MTek-GDL 0.100.4-muffintrap
Loading...
Searching...
No Matches
mgdl-logger.h
Go to the documentation of this file.
1#pragma once
2
7enum LogLevel
8{
9 None = 0,
10 All = 1,
11 Info = 1,
12 Warning = 2,
13 Error = 3
14};
15typedef enum LogLevel LogLevel;
16
17#ifdef __cplusplus
18extern "C"
19{
20#endif
21 void Log_SetLevel(LogLevel lvl);
22
23 void Log_Info(const char* text);
24 void Log_InfoF(const char* fmt, ...);
25 void Log_Warning(const char* text);
26 void Log_WarningF(const char* fmt, ...);
27 void Log_Error(const char* text);
28 void Log_ErrorF(const char* fmt, ...);
29
30 void _Log_Print(const char* text);
31
32#ifdef __cplusplus
33}
34#endif