IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
IPSDKIPLColorLog.h
Go to the documentation of this file.
1 // IPSDKIPLColorLog.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKIPLCOLOR_IPSDKIPLCOLORLOG_H__
16 #define __IPSDKIPLCOLOR_IPSDKIPLCOLORLOG_H__
17 
19 #include <IPSDKIPL/IPSDKIPLColor/Logger/IPSDKIPLColorException.h>
21 
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace color {
28 
31 
33 IPSDKIPLCOLOR_API log4cplus::Logger& getIPSDKIPLColorLogger();
34 
38 
39 } // end of namespace color
40 } // end of namespace imaproc
41 } // end of namespace ipsdk
42 
44 //
50 
53 #define IPSDKIPLCOLOR_LOG_TRACE(msg) \
54  IPSDK_LOG_TRACE(IPSDKIPLColor, msg);
55 
58 #define IPSDKIPLCOLOR_LOG_DEBUG(msg) \
59  IPSDK_LOG_DEBUG(IPSDKIPLColor, msg);
60 
63 #define IPSDKIPLCOLOR_LOG_INFO(msg) \
64  IPSDK_LOG_INFO(IPSDKIPLColor, msg);
65 
68 #define IPSDKIPLCOLOR_LOG_WARN(msg) \
69  IPSDK_LOG_WARN(IPSDKIPLColor, msg);
70 
73 #define IPSDKIPLCOLOR_LOG_ERROR(msg) \
74  IPSDK_LOG_ERROR(IPSDKIPLColor, msg);
75 
77 
79 //
83 //
85 
88 #define IPSDKIPLCOLOR_THROW(msg) \
89  IPSDK_THROW(IPSDKIPLColor, msg);
90 
94 #define IPSDKIPLCOLOR_RETHROW(msg, previousException) \
95  IPSDK_RETHROW(IPSDKIPLColor, msg, previousException);
96 
100 #define IPSDKIPLCOLOR_CHECK(bPredicate, msg) \
101  IPSDK_CHECK(IPSDKIPLColor, bPredicate, msg);
102 
104 
107 
108 #endif // __IPSDKIPLCOLOR_IPSDKIPLCOLORLOG_H__
IPSDKIPLCOLOR_API const std::string & getIPSDKIPLColorLoggerName()
Recovery of logger name associated to library.
IPSDKIPLCOLOR_API log4cplus::Logger & getIPSDKIPLColorLogger()
Recovery of logger associated to library.
#define IPSDKIPLCOLOR_API
Import/Export macro for library IPSDKIPLColor.
Definition: IPSDKIPLColorExports.h:25
Log messages description.
IPSDKIPLCOLOR_API const ipsdk::LogMessageManager & getIPSDKIPLColorLogMessageManager()
Recovery of message manager associated to library.