mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
Improved logging of "adding aircraft" so we can see details such as the model string
This commit is contained in:
@@ -1186,6 +1186,11 @@ namespace BlackCore
|
||||
return true;
|
||||
}
|
||||
|
||||
void ISimulator::logAddingAircraftModel(const CSimulatedAircraft &aircraft) const
|
||||
{
|
||||
CLogMessage(this).info(u"Adding '%1' '%2' to '%3'") << aircraft.getCallsign() << aircraft.getModel().getModelStringAndDbKey() << this->getSimulatorInfo().toQString(true);
|
||||
}
|
||||
|
||||
QString ISimulator::latestLoggedDataFormatted(const CCallsign &cs) const
|
||||
{
|
||||
const SituationLog s = m_interpolationLogger.getLastSituationLog(cs);
|
||||
|
||||
Reference in New Issue
Block a user