diff --git a/Source/Core/Common/Src/ConsoleListener.cpp b/Source/Core/Common/Src/ConsoleListener.cpp index 3346d361b4..b5ce181d25 100644 --- a/Source/Core/Common/Src/ConsoleListener.cpp +++ b/Source/Core/Common/Src/ConsoleListener.cpp @@ -286,7 +286,7 @@ void ConsoleListener::Log(LogTypes::LOG_LEVELS Level, const char *Text) Color = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE; break; } - if (strlen(Text) > 10) + if (Level != CUSTOM_LEVEL && strlen(Text) > 10) { // First 10 chars white SetConsoleTextAttribute(hConsole, FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY); diff --git a/Source/Core/Common/Src/Log.h b/Source/Core/Common/Src/Log.h index e33b7fd318..16c3ee9ed9 100644 --- a/Source/Core/Common/Src/Log.h +++ b/Source/Core/Common/Src/Log.h @@ -81,7 +81,8 @@ enum LOG_LEVELS { LERROR = ERROR_LEVEL, LWARNING = WARNING_LEVEL, LINFO = INFO_LEVEL, - LDEBUG = DEBUG_LEVEL + LDEBUG = DEBUG_LEVEL, + LCUSTOM = CUSTOM_LEVEL }; } // namespace