dungeon/src/Logger.h
Adrian Hedqvist bb40711f84 Too big of a commit again
* Add and started using a proper state machine class
  * Uses a "StateResult" struct to handle state switches
* Add timers
* Move imgui to its own folder
* Add logger (not used yet)
2018-04-02 22:24:54 +02:00

24 lines
502 B
C++

#pragma once
#include <string>
namespace Log {
using std::string;
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);
}