Initial Commit
This commit is contained in:
parent
f9862eed93
commit
de4c836e97
14 changed files with 716 additions and 0 deletions
16
src/debug/Log.hpp
Normal file
16
src/debug/Log.hpp
Normal file
|
|
@ -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, ...);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue