Commit f2e34619 authored by Victor Yacovlev's avatar Victor Yacovlev

Start/Exit events logger write

parent def6468c
......@@ -34,10 +34,12 @@ Logger::Logger(const QString & filePath, LogLevel logLevel)
loggerFile_ = new QFile(filePath);
loggerFile_->open(QIODevice::WriteOnly|QIODevice::Text|QIODevice::Append);
}
writeLog("STARTED", "");
}
Logger::~Logger()
{
writeLog("EXITING", "");
if (loggerFile_) {
loggerFile_->close();
delete loggerFile_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment