IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
IPSDKCoreLog.h
Go to the documentation of this file.
1 // IPSDKCoreLog.h:
3 // ---------------
4 //
13 
14 #ifndef __IPSDKCORE_IPSDKCORELOG_H__
15 #define __IPSDKCORE_IPSDKCORELOG_H__
16 
18 #include <IPSDKCore/Logger/IPSDKCoreException.h>
20 
23 
24 namespace ipsdk {
25 namespace core {
26 
28 IPSDKCORE_API const std::string& getIPSDKCoreLoggerName();
29 
31 IPSDKCORE_API log4cplus::Logger& getIPSDKCoreLogger();
32 
34 IPSDKCORE_API const LogMessageManager& getIPSDKCoreLogMessageManager();
35 
36 } // end of namespace core
37 } // end of namespace ipsdk
38 
40 //
46 
49 #define IPSDKCORE_LOG_TRACE(msg) \
50  IPSDK_LOG_TRACE(IPSDKCore, msg);
51 
54 #define IPSDKCORE_LOG_DEBUG(msg) \
55  IPSDK_LOG_DEBUG(IPSDKCore, msg);
56 
59 #define IPSDKCORE_LOG_INFO(msg) \
60  IPSDK_LOG_INFO(IPSDKCore, msg);
61 
64 #define IPSDKCORE_LOG_WARN(msg) \
65  IPSDK_LOG_WARN(IPSDKCore, msg);
66 
69 #define IPSDKCORE_LOG_ERROR(msg) \
70  IPSDK_LOG_ERROR(IPSDKCore, msg);
71 
73 
75 //
79 //
81 
84 #define IPSDKCORE_THROW(msg) \
85  IPSDK_THROW(IPSDKCore, msg);
86 
89 #define IPSDKCORE_RETHROW(msg, previousException) \
90  IPSDK_RETHROW(IPSDKCore, msg, previousException);
91 
94 #define IPSDKCORE_CHECK(bPredicate, msg) \
95  IPSDK_CHECK(IPSDKCore, bPredicate, msg);
96 
98 
101 
102 #endif // __IPSDKCORE_IPSDKCORELOG_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Log messages description.
Base Logger for IPSDK library.
IPSDKCORE_API const LogMessageManager & getIPSDKCoreLogMessageManager()
Recovery of message manager associated to library.
#define IPSDKCORE_API
Import/Export macro for library IPSDKCore.
Definition: IPSDKCoreExports.h:27
IPSDKCORE_API log4cplus::Logger & getIPSDKCoreLogger()
Recovery of logger associated to library.
IPSDKCORE_API const std::string & getIPSDKCoreLoggerName()
Recovery of logger name associated to library.