mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #336 Using the new CLogMessage syntax to log messages.
This commit is contained in:
@@ -63,7 +63,7 @@ namespace BlackCore
|
||||
QDateTime timestamp = m_callsignTimestamps.value(callsign);
|
||||
if (timestamp.secsTo(QDateTime::currentDateTimeUtc()) > m_timeout.value(CTimeUnit::s()))
|
||||
{
|
||||
CLogMessage().debug(this) << "Aircraft " << callsign.toQString() << "timed out!";
|
||||
CLogMessage(this).debug() << "Aircraft " << callsign.toQString() << "timed out!";
|
||||
m_callsignTimestamps.remove(callsign);
|
||||
emit timeout(callsign);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user