Browse Source

Update Log.cpp

set default log to std::cerr stream
pull/195/head
ipslot 10 years ago
parent
commit
dfd41385b1
  1. 2
      Log.cpp

2
Log.cpp

@ -13,7 +13,7 @@ static const char * g_LogLevelStr[eNumLogLevels] = @@ -13,7 +13,7 @@ static const char * g_LogLevelStr[eNumLogLevels] =
void LogMsg::Process()
{
auto& output = (log && log->GetLogStream ()) ? *log->GetLogStream () : std::cout;
auto& output = (log && log->GetLogStream ()) ? *log->GetLogStream () : std::cerr;
if (log)
output << log->GetTimestamp ();
else

Loading…
Cancel
Save