IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
Sample_OtsuLog.h File Reference

Logger api for executable Sample_Otsu. More...

#include <IPSDKUtil/Logger/BaseLog.h>
#include <Sample/Sample_Otsu/Logger/Sample_OtsuException.h>
#include <Sample/Sample_Otsu/Logger/Sample_OtsuLogMessages.h>

Go to the source code of this file.

Namespaces

 ipsdk::sample
 Namespace aggregating applications demonstrating the use of IPSDK libraries.
 

Macros

Logs

Macros enabling logging management for library Sample_Otsu.

#define SAMPLE_OTSU_LOG_TRACE(msg)   IPSDK_LOG_TRACE(Sample_Otsu, msg);
 Logging of message msg with trace log level.
 
#define SAMPLE_OTSU_LOG_DEBUG(msg)   IPSDK_LOG_DEBUG(Sample_Otsu, msg);
 Logging of message msg with debug log level.
 
#define SAMPLE_OTSU_LOG_INFO(msg)   IPSDK_LOG_INFO(Sample_Otsu, msg);
 Logging of message msg with info log level.
 
#define SAMPLE_OTSU_LOG_WARN(msg)   IPSDK_LOG_WARN(Sample_Otsu, msg);
 Logging of message msg with warn log level.
 
#define SAMPLE_OTSU_LOG_ERROR(msg)   IPSDK_LOG_ERROR(Sample_Otsu, msg);
 Logging of message msg with error log level.
 
Exceptions

Macros enabling exception management for library Sample_Otsu.

#define SAMPLE_OTSU_THROW(msg)   IPSDK_THROW(Sample_Otsu, msg);
 Unconditional exception thrown with logging of msg value.
 
#define SAMPLE_OTSU_RETHROW(msg, previousException)   IPSDK_RETHROW(Sample_Otsu, msg, previousException);
 Unconditional exception rethrown from previousException with logging of msg value.
 
#define SAMPLE_OTSU_CHECK(bPredicate, msg)   IPSDK_CHECK(Sample_Otsu, bPredicate, msg);
 Check of predicate bPredicate with exception thrown with logging of msg value in case of failure.
 

Functions

SAMPLE_OTSU_API const std::string & ipsdk::sample::getSample_OtsuLoggerName ()
 Recovery of logger name associated to library.
 
SAMPLE_OTSU_API log4cplus::Logger & ipsdk::sample::getSample_OtsuLogger ()
 Recovery of logger associated to library.
 
SAMPLE_OTSU_API const ipsdk::LogMessageManageripsdk::sample::getSample_OtsuLogMessageManager ()
 Recovery of message manager associated to library.
 

Detailed Description

Logger api for executable Sample_Otsu.

Author
H. Delestre
Date
2014/09/30