flush logs when printing to stdout
This commit is contained in:
1 parent
3173042229
commit
72c10b20fb
1 file changed
+1
@@ -112,6 +112,7 @@ void FileLog::save_log(WTextStream * buffer)
|
|||||||
if( log_stdout )
|
if( log_stdout )
|
||||||
{
|
{
|
||||||
wide_stream_to_utf8(*buffer, std::cout);
|
wide_stream_to_utf8(*buffer, std::cout);
|
||||||
|
std::cout.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !log_file.empty() )
|
if( !log_file.empty() )
|
||||||
|
|||||||
Reference in new issue
Block a user