mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T773, clear log when written, set object name for logger
This commit is contained in:
committed by
Mat Sutcliffe
parent
f6c5e6f3cb
commit
a629b70724
@@ -445,7 +445,8 @@ namespace BlackCore
|
||||
this->clearInterpolationLogCallsigns();
|
||||
|
||||
// write
|
||||
m_interpolationLogger.writeLogInBackground();
|
||||
const bool clearLog = true;
|
||||
m_interpolationLogger.writeLogInBackground(clearLog);
|
||||
CLogMessage(this).info(u"Started writing interpolation log");
|
||||
return true;
|
||||
}
|
||||
@@ -687,6 +688,8 @@ namespace BlackCore
|
||||
CIdentifiable(this)
|
||||
{
|
||||
this->setObjectName("Simulator: " + pluginInfo.getIdentifier());
|
||||
m_interpolationLogger.setObjectName("Logger: " + pluginInfo.getIdentifier());
|
||||
|
||||
ISimulator::registerHelp();
|
||||
|
||||
// provider signals, hook up with remote aircraft provider
|
||||
|
||||
Reference in New Issue
Block a user