mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
Update Log.cpp
set default log to std::cerr stream
This commit is contained in:
parent
2b797fcd54
commit
dfd41385b1
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…
Reference in a new issue