dungeon/src/Logger.h

24 lines
502 B
C
Raw Normal View History

2017-09-17 13:43:13 +02:00
#pragma once
#include <string>
2017-09-17 13:43:13 +02:00
namespace Log {
using std::string;
2017-09-17 13:43:13 +02:00
enum LogLevel {
Error,
Warning,
Info,
Debug,
Trace,
};
void set_log_level(LogLevel level);
//void enable_log_to_file(bool enable);
//void set_log_path(string path);
void error(string tag, string message);
void warning(string tag, string message);
void info(string tag, string message);
void debug(string tag, string message);
void trace(string tag, string message);
}