diff Plugin/ViewerToolbox.cpp @ 260:620ed85fb514

replacing OrthancPluginLog...() by LOG(...)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2020 17:38:40 +0200
parents 967ae255a58f
children 4e9d30c19b4b
line wrap: on
line diff
--- a/Plugin/ViewerToolbox.cpp	Sat May 30 10:53:09 2020 +0200
+++ b/Plugin/ViewerToolbox.cpp	Fri Jun 05 17:38:40 2020 +0200
@@ -218,7 +218,7 @@
       char* tmp = OrthancPluginGetConfiguration(context);
       if (tmp == NULL)
       {
-        OrthancPluginLogError(context, "Error while retrieving the configuration from Orthanc");
+        LOG(ERROR) << "Error while retrieving the configuration from Orthanc";
         return false;
       }
 
@@ -233,7 +233,7 @@
     }
     else
     {
-      OrthancPluginLogError(context, "Unable to parse the configuration");
+      LOG(ERROR) << "Unable to parse the configuration";
       return false;
     }
   }