Core/FileLogger: Fix errors being written twice to the console with std replication (Fixes #103)

This commit is contained in:
Lynix 2016-10-18 19:16:38 +02:00
parent 438d8e918c
commit f3e1b19326
1 changed files with 0 additions and 8 deletions

View File

@ -147,14 +147,6 @@ namespace Nz
void FileLogger::WriteError(ErrorType type, const String& error, unsigned int line, const char* file, const char* function)
{
if (m_forceStdOutput || m_stdReplicationEnabled)
{
m_stdLogger.WriteError(type, error, line, file, function);
if (m_forceStdOutput)
return;
}
AbstractLogger::WriteError(type, error, line, file, function);
m_outputFile.Flush();
}