mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-19 02:12:46 +01:00
Flushing log buffer every time a print is performed (masks useful information when a crash occurs).
This commit is contained in:
@@ -74,4 +74,5 @@ void Logger::Write(Zone zone, std::string component, std::string message)
|
||||
std::stringstream ss;
|
||||
ss << "[" << timeStr << "] [" << zoneStr << "] [" << component << "] " << message << std::endl;
|
||||
std::cout << ss.str();
|
||||
std::cout.flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user