mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
* sane log messages: Log.cpp
This commit is contained in:
parent
d9af8c31a2
commit
6c0dfc4356
2
Log.cpp
2
Log.cpp
@ -49,7 +49,7 @@ void Log::SetLogFile (const std::string& fullFilePath)
|
|||||||
if (logFile->is_open ())
|
if (logFile->is_open ())
|
||||||
{
|
{
|
||||||
SetLogStream (logFile);
|
SetLogStream (logFile);
|
||||||
LogPrint("Logging to file ", fullFilePath, " enabled.");
|
LogPrint(eLogInfo, "Log: will send messages to ", fullFilePath);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
delete logFile;
|
delete logFile;
|
||||||
|
Loading…
Reference in New Issue
Block a user