Skip to content

Commit

Permalink
Add std::flush to RiaStdOutLogger::writeMessageToLogger
Browse files Browse the repository at this point in the history
For testing of instant std::cout when running in console mode
  • Loading branch information
jorgenherje committed Mar 15, 2024
1 parent 2207bf4 commit 3156953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ApplicationLibCode/Application/Tools/RiaLogging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void RiuMessageLoggerBase::writeMessageWithPrefixToLogger( const char* prefix, c
//--------------------------------------------------------------------------------------------------
void RiaStdOutLogger::writeMessageToLogger( const std::string& str )
{
std::cout << str;
std::cout << str << std::flush;
}

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 3156953

Please sign in to comment.