1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

Update Log.cpp

set default log to std::cerr stream
This commit is contained in:
ipslot 2015-05-12 13:27:02 +06:00
parent 2b797fcd54
commit dfd41385b1

View File

@ -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