Browse Source

Merge pull request #195 from ipslot/master

Update Log.cpp
pull/224/head
orignal 10 years ago
parent
commit
64dbd9abdf
  1. 2
      Log.cpp

2
Log.cpp

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

Loading…
Cancel
Save