Skip to content

Commit

Permalink
Added startup log entry to see the current version in the console
Browse files Browse the repository at this point in the history
  • Loading branch information
mistafunk committed Jun 3, 2020
1 parent ac5dbc8 commit 13724f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/serlio/PRTContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ PRTContext::PRTContext(const std::vector<std::wstring>& 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;

Expand Down

0 comments on commit 13724f4

Please sign in to comment.