diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-16 20:50:55 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-16 20:50:55 +0100 |
| commit | de4c836e97a5798a09bcf96fbdf4cbaf29b0dc5e (patch) | |
| tree | ced2f8201e49f65e2ceecac015ecc3f7f8f9e10a /src/debug/Log.hpp | |
| parent | f9862eed939c748842c0e9369880848b654f3d5f (diff) | |
Initial Commit
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 |
