Skip to content

Commit

Permalink
Disable the cout redirect for now
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 23, 2021
1 parent a2eb8f1 commit 8056e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiantcore/log/LogStream.cpp
Expand Up @@ -45,15 +45,15 @@ void LogStream::InitialiseStreams(ILogWriter& logWriter)
#if !defined(POSIX) || !defined(_DEBUG)
// Redirect std::cout to the log, except on Linux debug builds where
// logging to the console is more useful
COutRedirector::init(logWriter);
//COutRedirector::init(logWriter);
#endif
}

void LogStream::ShutdownStreams()
{
#if !defined(POSIX) || !defined(_DEBUG)
// Stop redirecting std::cout
COutRedirector::destroy();
//COutRedirector::destroy();
#endif
}

Expand Down

0 comments on commit 8056e60

Please sign in to comment.