Mercurial > hg > orthanc
diff Core/Logging.h @ 1488:c8763b603b0e
flag for plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2015 10:54:13 +0200 |
parents | 23083810d543 |
children | 1389834e130f |
line wrap: on
line diff
--- a/Core/Logging.h Tue Aug 04 10:45:58 2015 +0200 +++ b/Core/Logging.h Tue Aug 04 10:54:13 2015 +0200 @@ -32,6 +32,8 @@ #pragma once +#if ORTHANC_ENABLE_LOGGING == 1 + #if ORTHANC_ENABLE_GOOGLE_LOG == 1 #include <stdlib.h> // This fixes a problem in glog for recent releases of MinGW #include <glog/logging.h> @@ -50,3 +52,5 @@ void EnableTraceLevel(bool enabled); } } + +#endif