Flush stdout after every log line even without a terminal

Günther Brammer 2011-02-04 00:15:52 +01:00
parent d7f01fc0d2
commit 801cf1b8b3
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ bool LogSilent(const char *szMessage, bool fConsole)
OutputDebugString(Line.getData());
#endif
fputs(Line.getData(),stdout);
fflush(stdout);
}
}