Removed windows debug console 4096 character limit

This commit is contained in:
akallabeth 2022-02-28 11:40:24 +01:00 committed by akallabeth
parent 121e736694
commit 861eaa693b
1 changed files with 3 additions and 6 deletions

View File

@ -67,12 +67,9 @@ static BOOL WLog_ConsoleAppender_WriteMessage(wLog* log, wLogAppender* appender,
#ifdef _WIN32
if (consoleAppender->outputStream == WLOG_CONSOLE_DEBUG)
{
char MessageString[4096];
sprintf_s(MessageString, sizeof(MessageString), "%s%s\n", message->PrefixString,
message->TextString);
OutputDebugStringA(MessageString);
OutputDebugStringA(message->PrefixString);
OutputDebugStringA(message->TextString);
OutputDebugStringA("\n");
return TRUE;
}