19 void log(std::string_view message)
const;
21 void log(
ELogLevel logLevel, std::string_view message)
const;
24 std::string_view name,
26 std::string_view message)
const;
38 std::vector<LogHandler> m_logHandlers;
40 static std::string makeLogString(
41 std::string_view name,
43 std::string_view message);
45 static bool shouldStdOutPrintWithoutBuffering(
ELogLevel logLevel);
void log(std::string_view message) const
Definition Logger.cpp:24
static LogHandler makeStdOutLogPrinter()
Definition Logger.cpp:111
static LogHandler makeColoredStdOutLogPrinter()
Definition Logger.cpp:127
void addLogHandler(LogHandler logHandler)
Add a log handler that can deal with log messages. Log handler must be copyable.
Definition Logger.cpp:47
Logger()
Definition Logger.cpp:20
The root for all renderer implementations.
Definition assertion.h:9
std::function< void(ELogLevel logLevel, std::string_view logString)> LogHandler
Definition logger_fwd.h:12
ELogLevel
Definition ELogLevel.h:9