Mercurial > hg > orthanc-python
changeset 258:f198e1c32aed
log the version of the orthanc SDK
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 10 Aug 2025 11:10:33 +0200 |
parents | aa668ce77d61 |
children | 8a7d921253c0 |
files | Sources/Plugin.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Sources/Plugin.cpp Tue Jul 22 21:32:31 2025 +0200 +++ b/Sources/Plugin.cpp Sun Aug 10 11:10:33 2025 +0200 @@ -414,6 +414,11 @@ OrthancPlugins::SetDescription(PLUGIN_NAME, "Run Python scripts as Orthanc plugins"); + ORTHANC_PLUGINS_LOG_WARNING("Version of the Orthanc SDK in use by the Python plugin: " + + boost::lexical_cast<std::string>(ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER) + "." + + boost::lexical_cast<std::string>(ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER) + "." + + boost::lexical_cast<std::string>(ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER)); + try { /**