Log something when the Filelogger has been started

Helps to see whether the logger object is active,
spotted during #6445
This commit is contained in:
Michael Friedrich 2018-07-19 12:48:01 +02:00
parent 7593d15e95
commit 7c2e999f1f
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ void FileLogger::Start(bool runtimeCreated)
Application::OnReopenLogs.connect(std::bind(&FileLogger::ReopenLogFile, this));
ObjectImpl<FileLogger>::Start(runtimeCreated);
Log(LogInformation, "FileLogger")
<< "'" << GetName() << "' started.";
}
void FileLogger::ReopenLogFile()