IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
IPSDKIPLStatsLog.h
Go to the documentation of this file.
1 // IPSDKIPLStatsLog.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKIPLSTATS_IPSDKIPLSTATSLOG_H__
16 #define __IPSDKIPLSTATS_IPSDKIPLSTATSLOG_H__
17 
19 #include <IPSDKIPL/IPSDKIPLStats/Logger/IPSDKIPLStatsException.h>
21 
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace stats {
28 
31 
33 IPSDKIPLSTATS_API log4cplus::Logger& getIPSDKIPLStatsLogger();
34 
38 
39 } // end of namespace stats
40 } // end of namespace imaproc
41 } // end of namespace ipsdk
42 
44 //
50 
53 #define IPSDKIPLSTATS_LOG_TRACE(msg) \
54  IPSDK_LOG_TRACE(IPSDKIPLStats, msg);
55 
58 #define IPSDKIPLSTATS_LOG_DEBUG(msg) \
59  IPSDK_LOG_DEBUG(IPSDKIPLStats, msg);
60 
63 #define IPSDKIPLSTATS_LOG_INFO(msg) \
64  IPSDK_LOG_INFO(IPSDKIPLStats, msg);
65 
68 #define IPSDKIPLSTATS_LOG_WARN(msg) \
69  IPSDK_LOG_WARN(IPSDKIPLStats, msg);
70 
73 #define IPSDKIPLSTATS_LOG_ERROR(msg) \
74  IPSDK_LOG_ERROR(IPSDKIPLStats, msg);
75 
77 
79 //
83 //
85 
88 #define IPSDKIPLSTATS_THROW(msg) \
89  IPSDK_THROW(IPSDKIPLStats, msg);
90 
94 #define IPSDKIPLSTATS_RETHROW(msg, previousException) \
95  IPSDK_RETHROW(IPSDKIPLStats, msg, previousException);
96 
100 #define IPSDKIPLSTATS_CHECK(bPredicate, msg) \
101  IPSDK_CHECK(IPSDKIPLStats, bPredicate, msg);
102 
104 
107 
108 #endif // __IPSDKIPLSTATS_IPSDKIPLSTATSLOG_H__
#define IPSDKIPLSTATS_API
Import/Export macro for library IPSDKIPLStats.
Definition: IPSDKIPLStatsExports.h:25
IPSDKIPLSTATS_API const std::string & getIPSDKIPLStatsLoggerName()
Recovery of logger name associated to library.
IPSDKIPLSTATS_API const ipsdk::LogMessageManager & getIPSDKIPLStatsLogMessageManager()
Recovery of message manager associated to library.
IPSDKIPLSTATS_API log4cplus::Logger & getIPSDKIPLStatsLogger()
Recovery of logger associated to library.
Log messages description.