Log XSwiftBus version when starting

This commit is contained in:
Klaus Basan
2019-08-07 01:46:46 +02:00
committed by Mat Sutcliffe
parent 1d7e3dc9aa
commit f491f19cfc

View File

@@ -151,8 +151,9 @@ namespace XSwiftBus
} }
//! todo RR: Send all logs to the the message window. //! todo RR: Send all logs to the the message window.
INFO_LOG("XSwiftBus started."); const std::string msg = "XSwiftBus " + m_service->getVersionNumber() + " started.";
m_service->addTextMessage("XSwiftBus started.", 0, 255, 255); INFO_LOG(msg);
m_service->addTextMessage(msg, 0, 255, 255);
} }
void CPlugin::onAircraftModelChanged() void CPlugin::onAircraftModelChanged()