mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
daemonization.
This commit is contained in:
parent
3a864cb6c5
commit
334c92bb49
6 changed files with 74 additions and 46 deletions
4
Log.cpp
4
Log.cpp
|
@ -1,12 +1,10 @@
|
|||
#include "Log.h"
|
||||
|
||||
Log g_Log;
|
||||
Log * g_Log = nullptr;
|
||||
|
||||
void LogMsg::Process()
|
||||
{
|
||||
output << s.str();
|
||||
|
||||
std::cout << s.str (); // TODO: delete later
|
||||
}
|
||||
|
||||
void Log::Flush ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue