# HG changeset patch # User Sebastien Jodogne # Date 1593505439 -7200 # Node ID b9c536bf598b3836065d0d9570833940b3ba33d2 # Parent 79d871605ffde5108df7235e0c8bf5e24e994836 improved Orthanc::Logging::Initialize() diff -r 79d871605ffd -r b9c536bf598b Plugin/Plugin.cpp --- a/Plugin/Plugin.cpp Tue Jun 30 07:38:31 2020 +0200 +++ b/Plugin/Plugin.cpp Tue Jun 30 10:23:59 2020 +0200 @@ -256,7 +256,12 @@ return -1; } +#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) // This indicates Orthanc framework >= 1.7.2 Orthanc::Logging::InitializePluginContext(context); +#else + Orthanc::Logging::Initialize(context); +#endif + OrthancPluginSetDescription(context, "Advanced authorization plugin for Orthanc."); try