diff Core/Logging.h @ 2014:e39a2657f1c6

Dropped support of Google Log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 13 Jun 2016 13:39:10 +0200
parents b1291df2f780
children bcc575732aef
line wrap: on
line diff
--- a/Core/Logging.h	Mon Jun 13 10:26:56 2016 +0200
+++ b/Core/Logging.h	Mon Jun 13 13:39:10 2016 +0200
@@ -72,16 +72,10 @@
 
 #else  /* ORTHANC_ENABLE_LOGGING == 1 */
 
-#if ORTHANC_ENABLE_GOOGLE_LOG == 1
-#  include <stdlib.h>  // Including this fixes a problem in glog for recent releases of MinGW
-#  include <glog/logging.h>
-#else
 #  include <boost/thread/mutex.hpp>
 #  define LOG(level)  ::Orthanc::Logging::InternalLogger(#level,  __FILE__, __LINE__)
 #  define VLOG(level) ::Orthanc::Logging::InternalLogger("TRACE", __FILE__, __LINE__)
-#endif
 
-#if ORTHANC_ENABLE_GOOGLE_LOG != 1
 namespace Orthanc
 {
   namespace Logging
@@ -107,6 +101,5 @@
     };
   }
 }
-#endif
 
 #endif  // ORTHANC_ENABLE_LOGGING