IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Sample_KMeansLog.h
Go to the documentation of this file.
1 // Sample_KMeansLog.h:
3 // ----------------------
4 //
14 
15 #ifndef __SAMPLE_KMEANS_SAMPLE_KMEANSLOG_H__
16 #define __SAMPLE_KMEANS_SAMPLE_KMEANSLOG_H__
17 
19 #include <Sample/Sample_KMeans/Logger/Sample_KMeansException.h>
21 
24 
25 namespace ipsdk {
26 namespace sample {
27 
30 
32 SAMPLE_KMEANS_API log4cplus::Logger& getSample_KMeansLogger();
33 
37 
38 } // end of namespace sample
39 } // end of namespace ipsdk
40 
42 //
48 
51 #define SAMPLE_KMEANS_LOG_TRACE(msg) \
52  IPSDK_LOG_TRACE(Sample_KMeans, msg);
53 
56 #define SAMPLE_KMEANS_LOG_DEBUG(msg) \
57  IPSDK_LOG_DEBUG(Sample_KMeans, msg);
58 
61 #define SAMPLE_KMEANS_LOG_INFO(msg) \
62  IPSDK_LOG_INFO(Sample_KMeans, msg);
63 
66 #define SAMPLE_KMEANS_LOG_WARN(msg) \
67  IPSDK_LOG_WARN(Sample_KMeans, msg);
68 
71 #define SAMPLE_KMEANS_LOG_ERROR(msg) \
72  IPSDK_LOG_ERROR(Sample_KMeans, msg);
73 
75 
77 //
81 //
83 
86 #define SAMPLE_KMEANS_THROW(msg) \
87  IPSDK_THROW(Sample_KMeans, msg);
88 
92 #define SAMPLE_KMEANS_RETHROW(msg, previousException) \
93  IPSDK_RETHROW(Sample_KMeans, msg, previousException);
94 
98 #define SAMPLE_KMEANS_CHECK(bPredicate, msg) \
99  IPSDK_CHECK(Sample_KMeans, bPredicate, msg);
100 
102 
105 
106 #endif // __SAMPLE_KMEANS_SAMPLE_KMEANSLOG_H__
Log messages description.
SAMPLE_KMEANS_API log4cplus::Logger & getSample_KMeansLogger()
Recovery of logger associated to library.
#define SAMPLE_KMEANS_API
Import/Export macro for library Sample_KMeans.
Definition: Sample_KMeansExports.h:25
SAMPLE_KMEANS_API const ipsdk::LogMessageManager & getSample_KMeansLogMessageManager()
Recovery of message manager associated to library.
SAMPLE_KMEANS_API const std::string & getSample_KMeansLoggerName()
Recovery of logger name associated to library.