mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-12 07:39:41 -04:00
Add color to the log level in the console log (#6589)
This commit is contained in:
@@ -811,7 +811,7 @@ void OTRGlobals::Initialize() {
|
||||
auto logLevel =
|
||||
static_cast<spdlog::level::level_enum>(CVarGetInteger(CVAR_DEVELOPER_TOOLS("LogLevel"), defaultLogLevel));
|
||||
context->InitLogging(logLevel, logLevel);
|
||||
Ship::Context::GetRawInstance()->GetLogger()->set_pattern("[%H:%M:%S.%e] [%s:%#] [%l] %v");
|
||||
Ship::Context::GetRawInstance()->GetLogger()->set_pattern("[%H:%M:%S.%e] [%s:%#] [%^%l%$] %v");
|
||||
|
||||
InitGfxDebugger();
|
||||
context->InitFileDropMgr();
|
||||
|
||||
Reference in New Issue
Block a user