IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Sample_BenchmarkLog.h
Go to the documentation of this file.
1 // Sample_BenchmarkLog.h:
3 // ----------------------
4 //
14 
15 #ifndef __SAMPLE_BENCHMARK_SAMPLE_BENCHMARKLOG_H__
16 #define __SAMPLE_BENCHMARK_SAMPLE_BENCHMARKLOG_H__
17 
19 #include <Sample/Sample_Benchmark/Logger/Sample_BenchmarkException.h>
21 
24 
25 namespace ipsdk {
26 namespace sample {
27 
30 
33 
37 
38 } // end of namespace sample
39 } // end of namespace ipsdk
40 
42 //
48 
51 #define SAMPLE_BENCHMARK_LOG_TRACE(msg) \
52  IPSDK_LOG_TRACE(Sample_Benchmark, msg);
53 
56 #define SAMPLE_BENCHMARK_LOG_DEBUG(msg) \
57  IPSDK_LOG_DEBUG(Sample_Benchmark, msg);
58 
61 #define SAMPLE_BENCHMARK_LOG_INFO(msg) \
62  IPSDK_LOG_INFO(Sample_Benchmark, msg);
63 
66 #define SAMPLE_BENCHMARK_LOG_WARN(msg) \
67  IPSDK_LOG_WARN(Sample_Benchmark, msg);
68 
71 #define SAMPLE_BENCHMARK_LOG_ERROR(msg) \
72  IPSDK_LOG_ERROR(Sample_Benchmark, msg);
73 
75 
77 //
81 //
83 
86 #define SAMPLE_BENCHMARK_THROW(msg) \
87  IPSDK_THROW(Sample_Benchmark, msg);
88 
92 #define SAMPLE_BENCHMARK_RETHROW(msg, previousException) \
93  IPSDK_RETHROW(Sample_Benchmark, msg, previousException);
94 
98 #define SAMPLE_BENCHMARK_CHECK(bPredicate, msg) \
99  IPSDK_CHECK(Sample_Benchmark, bPredicate, msg);
100 
102 
105 
106 #endif // __SAMPLE_BENCHMARK_SAMPLE_BENCHMARKLOG_H__
SAMPLE_BENCHMARK_API log4cplus::Logger & getSample_BenchmarkLogger()
Recovery of logger associated to library.
SAMPLE_BENCHMARK_API const ipsdk::LogMessageManager & getSample_BenchmarkLogMessageManager()
Recovery of message manager associated to library.
Log messages description.
SAMPLE_BENCHMARK_API const std::string & getSample_BenchmarkLoggerName()
Recovery of logger name associated to library.
#define SAMPLE_BENCHMARK_API
Import/Export macro for library Sample_Benchmark.
Definition: Sample_BenchmarkExports.h:25