Browse Source

flush logs when printing to stdout

master
Tomasz Sowa 7 months ago
parent
commit
72c10b20fb
  1. 1
      src/log/filelog.cpp

1
src/log/filelog.cpp

@ -112,6 +112,7 @@ void FileLog::save_log(WTextStream * buffer)
if( log_stdout )
{
wide_stream_to_utf8(*buffer, std::cout);
std::cout.flush();
}
if( !log_file.empty() )

Loading…
Cancel
Save