Mercurial > hg > orthanc-stone
changeset 2283:e35645fac5f8 refactoring
fix
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Tue, 22 Sep 2026 18:30:40 +0200 |
| parents | e45902983245 |
| children | 5150a7999840 |
| files | Applications/StoneWebViewer/Plugin/Plugin.cpp |
| diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/Plugin/Plugin.cpp Tue Sep 22 17:52:22 2026 +0200 +++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp Tue Sep 22 18:30:40 2026 +0200 @@ -261,7 +261,11 @@ { OrthancPlugins::SetGlobalContext(context); - OrthancStone::StoneInitialize(context); +#if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2) + Orthanc::Logging::InitializePluginContext(context); +#else + Orthanc::Logging::Initialize(context); +#endif /* Check the version of the Orthanc core */ if (OrthancPluginCheckVersion(context) == 0)
