1 #ifndef RADIX_ANSI_CONSOLE_LOGGER_HPP
2 #define RADIX_ANSI_CONSOLE_LOGGER_HPP
31 void log(
const std::string &message,
LogLevel lvl,
const std::string &tag);
Definition: GameController.hpp:7
std::mutex mtx
Definition: AnsiConsoleLogger.hpp:16
Base class to create log sinks.
Definition: Logger.hpp:20
const char * getName() const
Returns the name of the Logger instance.
Definition: AnsiConsoleLogger.cpp:37
AnsiConsoleLogger()
Definition: AnsiConsoleLogger.cpp:26
void log(const std::string &message, LogLevel lvl, const std::string &tag)
Log a message.
Definition: AnsiConsoleLogger.cpp:60
bool enableBackground
Enables colored backround on log tags.
Definition: AnsiConsoleLogger.hpp:26
Logger that outputs to an ANSI/vt-100 console.
Definition: AnsiConsoleLogger.hpp:14
bool enableColors
Enables colored output.
Definition: AnsiConsoleLogger.hpp:22
LogLevel
Definition: Logger.hpp:8