diff ViewerPlugin/Plugin.cpp @ 154:32a94bbb7d05

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Oct 2018 12:12:39 +0200
parents b798d200ac90 fb8d4cd2f618
children 1304498491e4
line wrap: on
line diff
--- a/ViewerPlugin/Plugin.cpp	Fri Jul 27 14:06:26 2018 +0200
+++ b/ViewerPlugin/Plugin.cpp	Mon Oct 08 12:12:39 2018 +0200
@@ -23,7 +23,9 @@
 
 #include "DicomPyramidCache.h"
 #include "../Framework/Jpeg2000Reader.h"
+#include "../Framework/MultiThreading/Semaphore.h"
 
+#include <Core/Logging.h>
 #include <Core/Images/ImageProcessing.h>
 #include <Core/Images/PngWriter.h>
 #include <Core/MultiThreading/Semaphore.h>
@@ -310,6 +312,8 @@
       return -1;
     }
 
+    Orthanc::Logging::Initialize(context);
+
     // Limit the number of PNG transcoders to the number of available
     // hardware threads (e.g. number of CPUs or cores or
     // hyperthreading units)