![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base Logger for IPSDK library. More...
#include <log4cplus/logger.h>#include <log4cplus/loglevel.h>#include <log4cplus/loggingmacros.h>#include <string>#include <IPSDKUtil/IPSDKUtilExports.h>#include <IPSDKUtil/Logger/LogUtils.h>#include <IPSDKUtil/Logger/LogMessageFormater.h>#include <IPSDKUtil/Logger/BaseException.h>#include <IPSDKUtil/Logger/UnHandleException.h>#include <boost/preprocessor/seq.hpp>#include <boost/current_function.hpp>Go to the source code of this file.
Namespaces | |
| ipsdk | |
| Main namespace for IPSDK library. | |
Macros | |
Logs | |
Macros enabling loggin management for library. | |
| #define | IPSDK_LOG(libraryName, msg, level) |
| Logging of message msg to logger associated to library libraryName with level log level. More... | |
| #define | IPSDK_LOG_TRACE(libraryName, msg) IPSDK_LOG(libraryName, msg, TRACE_LOG_LEVEL); |
| Logging of message msg to logger associated to library libraryName trace log level. | |
| #define | IPSDK_LOG_DEBUG(libraryName, msg) IPSDK_LOG(libraryName, msg, DEBUG_LOG_LEVEL); |
| Logging of message msg to logger associated to library libraryName debug log level. | |
| #define | IPSDK_LOG_INFO(libraryName, msg) IPSDK_LOG(libraryName, msg, INFO_LOG_LEVEL); |
| Logging of message msg to logger associated to library libraryName info log level. | |
| #define | IPSDK_LOG_WARN(libraryName, msg) IPSDK_LOG(libraryName, msg, WARN_LOG_LEVEL); |
| Logging of message msg to logger associated to library libraryName warn log level. | |
| #define | IPSDK_LOG_ERROR(libraryName, msg) IPSDK_LOG(libraryName, msg, ERROR_LOG_LEVEL); |
| Logging of message msg to logger associated to library libraryName error log level. | |
Exceptions | |
Macros enabling exception management for library [!output REAL_PROJECT_NAME]. | |
| #define | IPSDK_THROW(libraryName, msg) |
| Unconditional exception thrown of an exception logging of msg value to logger associated to library libraryName. More... | |
| #define | IPSDK_RETHROW(libraryName, msg, previousExcp) |
| Unconditional exception rethrown of exception previousExcp to an exception logging of msg value to logger associated to library libraryName. More... | |
| #define | IPSDK_CHECK(libraryName, bPredicate, msg) |
| Unconditional exception thrown of an exception logging of msg value to logger associated to library libraryName. More... | |
Functions | |
| IPSDKUTIL_API const std::string & | ipsdk::getBaseLoggerName () |
| Recovery of main logger name associated to library. | |
| IPSDKUTIL_API log4cplus::Logger & | ipsdk::getBaseLogger () |
| Recovery of main logger associated to library. | |
Base Logger for IPSDK library.
| #define IPSDK_LOG | ( | libraryName, | |
| msg, | |||
| level | |||
| ) |
Logging of message msg to logger associated to library libraryName with level log level.
| #define IPSDK_THROW | ( | libraryName, | |
| msg | |||
| ) |
Unconditional exception thrown of an exception logging of msg value to logger associated to library libraryName.
Check of predicate bPredicate with exception thrown with logging of msg value to logger associated to library libraryName in case of failure.
| #define IPSDK_RETHROW | ( | libraryName, | |
| msg, | |||
| previousExcp | |||
| ) |
Unconditional exception rethrown of exception previousExcp to an exception logging of msg value to logger associated to library libraryName.
| #define IPSDK_CHECK | ( | libraryName, | |
| bPredicate, | |||
| msg | |||
| ) |
Unconditional exception thrown of an exception logging of msg value to logger associated to library libraryName.
Check of predicate bPredicate with exception thrown with logging of msg value to logger associated to library libraryName in case of failure.
1.8.14