summaryrefslogtreecommitdiff
path: root/src/debug/Log.hpp
blob: 7dca950fdeeb22b0a0664b78ed0589a1c4f79a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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, ...);
};