changeset 5585:5df6d2a8d9f2

fix compatibility of Logging.h with WebAssembly
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 03 May 2024 13:58:28 +0200
parents 1b31ab38ea94
children 317850cd46bc
files OrthancFramework/Sources/Logging.h
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Logging.h	Fri May 03 10:26:55 2024 +0200
+++ b/OrthancFramework/Sources/Logging.h	Fri May 03 13:58:28 2024 +0200
@@ -224,6 +224,7 @@
     public:
       InternalLogger(LogLevel level,
                      LogCategory category,
+                     const char* pluginName /* ignored */,
                      const char* file  /* ignored */,
                      int line  /* ignored */) :
         level_(level),
@@ -231,15 +232,6 @@
       {
       }
 
-      // For backward binary compatibility with Orthanc Framework <= 1.8.0
-      InternalLogger(LogLevel level,
-                     const char* file  /* ignored */,
-                     int line  /* ignored */) :
-        level_(level),
-        category_(LogCategory_GENERIC)
-      {
-      }
-
       ~InternalLogger();
       
       template <typename T>