Logger class

Public static variables

static uint32_t LogRingSize constexpr

Public static functions

static auto Get() -> Logger&

Public functions

void Init(const std::string& logFilePath = "TrinyxEngine.log", LogLevel inMinLevel = LogLevel::Debug)
void Shutdown()
void SetMinLevel(LogLevel level)
void SetMinLevel(LogChannel channel, LogLevel level)
void Log(LogLevel level, LogChannel channel, const char* file, int line, const std::string& message)
auto GetLogRing() const -> const LogEntry*
auto GetLogHead() const -> uint32_t