IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
IPSDKLicensingLog.h
Go to the documentation of this file.
1 // IPSDKLicensingLog.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKLICENSING_IPSDKLICENSINGLOG_H__
16 #define __IPSDKLICENSING_IPSDKLICENSINGLOG_H__
17 
19 #include <IPSDKLicensing/Logger/IPSDKLicensingException.h>
21 
24 
25 namespace ipsdk {
26 namespace lic {
27 
30 
32 IPSDKLICENSING_API log4cplus::Logger& getIPSDKLicensingLogger();
33 
37 
38 } // end of namespace lic
39 } // end of namespace ipsdk
40 
42 //
48 
51 #define IPSDKLICENSING_LOG_TRACE(msg) \
52  IPSDK_LOG_TRACE(IPSDKLicensing, msg);
53 
56 #define IPSDKLICENSING_LOG_DEBUG(msg) \
57  IPSDK_LOG_DEBUG(IPSDKLicensing, msg);
58 
61 #define IPSDKLICENSING_LOG_INFO(msg) \
62  IPSDK_LOG_INFO(IPSDKLicensing, msg);
63 
66 #define IPSDKLICENSING_LOG_WARN(msg) \
67  IPSDK_LOG_WARN(IPSDKLicensing, msg);
68 
71 #define IPSDKLICENSING_LOG_ERROR(msg) \
72  IPSDK_LOG_ERROR(IPSDKLicensing, msg);
73 
75 
77 //
81 //
83 
86 #define IPSDKLICENSING_THROW(msg) \
87  IPSDK_THROW(IPSDKLicensing, msg);
88 
92 #define IPSDKLICENSING_RETHROW(msg, previousException) \
93  IPSDK_RETHROW(IPSDKLicensing, msg, previousException);
94 
98 #define IPSDKLICENSING_CHECK(bPredicate, msg) \
99  IPSDK_CHECK(IPSDKLicensing, bPredicate, msg);
100 
102 
105 
106 #endif // __IPSDKLICENSING_IPSDKLICENSINGLOG_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKLICENSING_API log4cplus::Logger & getIPSDKLicensingLogger()
Recovery of logger associated to library.
Base Logger for IPSDK library.
#define IPSDKLICENSING_API
Import/Export macro for library IPSDKLicensing.
Definition: IPSDKLicensingExports.h:25
IPSDKLICENSING_API const ipsdk::LogMessageManager & getIPSDKLicensingLogMessageManager()
Recovery of message manager associated to library.
Log message manager for ipsdk libraries.
Definition: LogMessageManager.h:44
Log messages description.
IPSDKLICENSING_API const std::string & getIPSDKLicensingLoggerName()
Recovery of logger name associated to library.