Skip to content

Commit bd71918

Browse files
authored
Add color to the log level in the console log (#6589)
1 parent db41e1b commit bd71918

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

soh/soh/OTRGlobals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ void OTRGlobals::Initialize() {
811811
auto logLevel =
812812
static_cast<spdlog::level::level_enum>(CVarGetInteger(CVAR_DEVELOPER_TOOLS("LogLevel"), defaultLogLevel));
813813
context->InitLogging(logLevel, logLevel);
814-
Ship::Context::GetRawInstance()->GetLogger()->set_pattern("[%H:%M:%S.%e] [%s:%#] [%l] %v");
814+
Ship::Context::GetRawInstance()->GetLogger()->set_pattern("[%H:%M:%S.%e] [%s:%#] [%^%l%$] %v");
815815

816816
InitGfxDebugger();
817817
context->InitFileDropMgr();

0 commit comments

Comments
 (0)