From de4c836e97a5798a09bcf96fbdf4cbaf29b0dc5e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 16 Mar 2022 20:50:55 +0100 Subject: Initial Commit --- src/debug/Log.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/debug/Log.hpp (limited to 'src/debug/Log.hpp') 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 + +#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 -- cgit v1.2.3