Keep notes for immediately log flushing

Disabled, but kept for future debugging sessions.
Helps with things like #6455
This commit is contained in:
Michael Friedrich 2018-07-19 12:51:30 +02:00
parent 7593d15e95
commit fd381ff5e0
1 changed files with 5 additions and 0 deletions

View File

@ -238,6 +238,11 @@ Log::~Log()
if (entry.Severity >= logger->GetMinSeverity())
logger->ProcessLogEntry(entry);
#ifdef I2_DEBUG /* I2_DEBUG */
/* Always flush, don't depend on the timer. Enable this for development sprints. */
//logger->Flush();
#endif /* I2_DEBUG */
}
if (Logger::IsConsoleLogEnabled() && entry.Severity >= Logger::GetConsoleLogSeverity())