IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Sample_OtsuLog.h
Go to the documentation of this file.
1 // Sample_OtsuLog.h:
3 // -----------------
4 //
14 
15 #ifndef __SAMPLE_OTSU_SAMPLE_OTSULOG_H__
16 #define __SAMPLE_OTSU_SAMPLE_OTSULOG_H__
17 
19 #include <Sample/Sample_Otsu/Logger/Sample_OtsuException.h>
21 
24 
25 namespace ipsdk {
26 namespace sample {
27 
29 SAMPLE_OTSU_API const std::string& getSample_OtsuLoggerName();
30 
32 SAMPLE_OTSU_API log4cplus::Logger& getSample_OtsuLogger();
33 
37 
38 } // end of namespace sample
39 } // end of namespace ipsdk
40 
42 //
48 
51 #define SAMPLE_OTSU_LOG_TRACE(msg) \
52  IPSDK_LOG_TRACE(Sample_Otsu, msg);
53 
56 #define SAMPLE_OTSU_LOG_DEBUG(msg) \
57  IPSDK_LOG_DEBUG(Sample_Otsu, msg);
58 
61 #define SAMPLE_OTSU_LOG_INFO(msg) \
62  IPSDK_LOG_INFO(Sample_Otsu, msg);
63 
66 #define SAMPLE_OTSU_LOG_WARN(msg) \
67  IPSDK_LOG_WARN(Sample_Otsu, msg);
68 
71 #define SAMPLE_OTSU_LOG_ERROR(msg) \
72  IPSDK_LOG_ERROR(Sample_Otsu, msg);
73 
75 
77 //
81 //
83 
86 #define SAMPLE_OTSU_THROW(msg) \
87  IPSDK_THROW(Sample_Otsu, msg);
88 
92 #define SAMPLE_OTSU_RETHROW(msg, previousException) \
93  IPSDK_RETHROW(Sample_Otsu, msg, previousException);
94 
98 #define SAMPLE_OTSU_CHECK(bPredicate, msg) \
99  IPSDK_CHECK(Sample_Otsu, bPredicate, msg);
100 
102 
105 
106 #endif // __SAMPLE_OTSU_SAMPLE_OTSULOG_H__
Log messages description.
SAMPLE_OTSU_API const ipsdk::LogMessageManager & getSample_OtsuLogMessageManager()
Recovery of message manager associated to library.
#define SAMPLE_OTSU_API
Import/Export macro for library Sample_Otsu.
Definition: Sample_OtsuExports.h:25
SAMPLE_OTSU_API log4cplus::Logger & getSample_OtsuLogger()
Recovery of logger associated to library.
SAMPLE_OTSU_API const std::string & getSample_OtsuLoggerName()
Recovery of logger name associated to library.