comparison Core/Logging.cpp @ 1551:0dba274074eb

standalone logging
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Aug 2015 14:57:41 +0200
parents 46b2794042d6
children b6f656a0bf2c
comparison
equal deleted inserted replaced
1550:2c7d5eb588e6 1551:0dba274074eb
31 31
32 32
33 #include "PrecompiledHeaders.h" 33 #include "PrecompiledHeaders.h"
34 #include "Logging.h" 34 #include "Logging.h"
35 35
36 #if ORTHANC_ENABLE_LOGGING == 1 36 #if ORTHANC_ENABLE_LOGGING != 1
37 37
38 38 namespace Orthanc
39 #if ORTHANC_ENABLE_GOOGLE_LOG == 1 39 {
40 namespace Logging
41 {
42 void Initialize()
43 {
44 }
45
46 void Finalize()
47 {
48 }
49
50 void EnableInfoLevel(bool enabled)
51 {
52 }
53
54 void EnableTraceLevel(bool enabled)
55 {
56 }
57
58 void SetTargetFolder(const std::string& path)
59 {
60 }
61 }
62 }
63
64 #elif ORTHANC_ENABLE_GOOGLE_LOG == 1
40 65
41 /********************************************************* 66 /*********************************************************
42 * Wrapper around Google Log 67 * Wrapper around Google Log
43 *********************************************************/ 68 *********************************************************/
44 69
391 416
392 417
393 } 418 }
394 } 419 }
395 420
396 #endif
397
398
399 #endif // ORTHANC_ENABLE_LOGGING 421 #endif // ORTHANC_ENABLE_LOGGING