From 13724f4da38f8854efa05a9b2507c5487cdcbea6 Mon Sep 17 00:00:00 2001 From: Simon Haegler Date: Wed, 3 Jun 2020 11:34:21 +0200 Subject: [PATCH] Added startup log entry to see the current version in the console --- src/serlio/PRTContext.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/serlio/PRTContext.cpp b/src/serlio/PRTContext.cpp index 808f29e3..609122c7 100644 --- a/src/serlio/PRTContext.cpp +++ b/src/serlio/PRTContext.cpp @@ -59,6 +59,9 @@ PRTContext::PRTContext(const std::vector& addExtDirs) : mPluginRoo prt::addLogHandler(theFileLogHandler); } + // Not the best place, but here we are sure the console logger is running and we are before PRT init info + LOG_INF << "Initializing Serlio Version " << SRL_VERSION << " ..."; + if (DBG) LOG_DBG << "initialized prt logger, plugin root path is " << mPluginRootPath;