init
This commit is contained in:
16
TempleWare-CS2/source/templeware/utils/logging/log.h
Normal file
16
TempleWare-CS2/source/templeware/utils/logging/log.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
enum LogType {
|
||||
Info,
|
||||
Warning,
|
||||
Error,
|
||||
None
|
||||
};
|
||||
|
||||
class Logger {
|
||||
public:
|
||||
// Using std::string for ease of use, overhead is practically non-existent
|
||||
static void Log(const char* text, LogType = LogType::Info);
|
||||
static void Watermark();
|
||||
};
|
||||
Reference in New Issue
Block a user