Mercurial > hg > orthanc-webviewer
comparison Plugin/Plugin.cpp @ 235:85b6a8bf8c7b transcoding
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 14 May 2020 15:49:58 +0200 |
parents | 7097d0eaac76 |
children | 620ed85fb514 |
comparison
equal
deleted
inserted
replaced
234:083d0cbcbac4 | 235:85b6a8bf8c7b |
---|---|
395 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) | 395 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) |
396 { | 396 { |
397 using namespace OrthancPlugins; | 397 using namespace OrthancPlugins; |
398 | 398 |
399 OrthancPlugins::SetGlobalContext(context); | 399 OrthancPlugins::SetGlobalContext(context); |
400 Orthanc::Logging::Initialize(context); | |
400 context_ = context; | 401 context_ = context; |
401 assert(DisplayPerformanceWarning()); | 402 assert(DisplayPerformanceWarning()); |
402 OrthancPluginLogWarning(context_, "Initializing the Web viewer"); | 403 OrthancPluginLogWarning(context_, "Initializing the Web viewer"); |
403 | 404 |
404 | 405 |