summaryrefslogtreecommitdiff
path: root/src/debug/Log.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/Log.hpp')
-rw-r--r--src/debug/Log.hpp16
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