diff options
Diffstat (limited to 'src/debug/Log.hpp')
| -rw-r--r-- | src/debug/Log.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp new file mode 100644 index 00000000..7dca950f --- /dev/null +++ b/src/debug/Log.hpp @@ -0,0 +1,16 @@ +#pragma once +#include <string> + +#define LOGMESSAGESIZE 1024 + +enum LogLevel { + NONE = -1, + LOG = 0, + WARN, + ERR, + CRIT +}; + +namespace Debug { + void log(LogLevel level, const char* fmt, ...); +};
\ No newline at end of file |
