mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
15 lines
238 B
C++
15 lines
238 B
C++
#include "Log.h"
|
|
|
|
#include "Daemon.h"
|
|
|
|
i2p::util::MsgQueue<LogMsg> g_Log;
|
|
|
|
void LogMsg::Process()
|
|
{
|
|
if (Daemon.isLogging == 1 && Daemon.logfile.is_open())
|
|
{
|
|
Daemon.logfile << s.str();
|
|
Daemon.logfile.flush();
|
|
}
|
|
output << s.str();
|
|
} |