Log Level

Note

The following is an advanced feature and requires editing C++ code.

Strix has its own logging system built-in to log various operations and errors. The log level may be customized to change the verbosity of logging.

The log level can be changed in C++ using the Strix log manager:

#include <strix/net/logging/Logger.h>

// For every logger, set the log level to Trace

for (auto entry : strix::net::logging::LogManager::GetInstance().GetLoggerMap())
{
    entry.second->SetLogLevel(strix::net::logging::LogLevel::Trace);
}

Levels

The logger has the following levels:

Name

Usage

Trace

Specific, detailed steps of functions

Debug

Information useful for error debugging

Info

Information on normal application behavior

Warning

Unexpected behavior

Error

Non-fatal errors

Fatal

Fatal errors