mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 02:05:06 +01:00
Flushing log buffer every time a print is performed (masks useful information when a crash occurs).
This commit is contained in:
parent
1a82ea34a2
commit
e3d5a7b553
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user