11 #ifndef LOG_H_INCLUDED
12 #define LOG_H_INCLUDED
15 #include "headers/defines.hpp"
16 #include "headers/enums.hpp"
31 log& sendMessage(
const char * msg);
38 log& setLevel(ERROR_LEVEL value);
42 ERROR_LEVEL getLevel();
47 log& setCallback(
void(*funcPtr)(
const char *));
53 log& setLogfile(
const char * path);
57 std::string getLogfile();
67 #endif // LOG_H_INCLUDED
A singleton class for logging.