Skip to content

Commit

Permalink
Update Log.cpp
Browse files Browse the repository at this point in the history
set default log to std::cerr stream
  • Loading branch information
ipslot committed May 12, 2015
1 parent 2b797fc commit dfd4138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfd4138

Please sign in to comment.