Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
loglevel.h
Go to the documentation of this file.
1 
9 #ifndef YAGE_CORE_LOGLEVEL_H
10 #define YAGE_CORE_LOGLEVEL_H
11 
12 #ifdef _WIN32
13 #ifdef ERROR
14 #define YAGE_ERROR_TMP ERROR
15 #undef ERROR
16 #endif
17 #endif
18 
19 namespace yage
20 {
21 
27 enum class LogLevel {
30  DEBUG,
31 
33  INFO,
34 
36  WARNING,
37 
39  ERROR,
40 
43  FATAL,
44 };
45 }
46 
47 #ifdef _WIN32
48 #ifdef YAGE_ERROR_TMP
49 #define ERROR YAGE_ERROR_TMP
50 #undef YAGE_ERROR_TMP
51 #endif
52 #endif
53 
54 #endif
Warning message.
Fatal message that should be output when the game crashes.
LogLevel
Different log levels that can be assigned to each message sent to the Logger.
Definition: loglevel.h:27
Lowest log level. This is used by the game engine to output debugging information but is turned off i...
Error message.
Information message.