From f491f19cfc321138b1ad52b32db55c0aeb0ed552 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 7 Aug 2019 01:46:46 +0200 Subject: [PATCH] Log XSwiftBus version when starting --- src/xswiftbus/plugin.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xswiftbus/plugin.cpp b/src/xswiftbus/plugin.cpp index 3da8a790d..14137a1b4 100644 --- a/src/xswiftbus/plugin.cpp +++ b/src/xswiftbus/plugin.cpp @@ -151,8 +151,9 @@ namespace XSwiftBus } //! todo RR: Send all logs to the the message window. - INFO_LOG("XSwiftBus started."); - m_service->addTextMessage("XSwiftBus started.", 0, 255, 255); + const std::string msg = "XSwiftBus " + m_service->getVersionNumber() + " started."; + INFO_LOG(msg); + m_service->addTextMessage(msg, 0, 255, 255); } void CPlugin::onAircraftModelChanged()