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

Logger api for executable Sample_Lightness. More...

#include <IPSDKUtil/Logger/BaseLog.h>
#include <Sample/Sample_Lightness/Logger/Sample_LightnessException.h>
#include <Sample/Sample_Lightness/Logger/Sample_LightnessLogMessages.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_Lightness.

#define SAMPLE_LIGHTNESS_LOG_TRACE(msg)   IPSDK_LOG_TRACE(Sample_Lightness, msg);
 Logging of message msg with trace log level.
 
#define SAMPLE_LIGHTNESS_LOG_DEBUG(msg)   IPSDK_LOG_DEBUG(Sample_Lightness, msg);
 Logging of message msg with debug log level.
 
#define SAMPLE_LIGHTNESS_LOG_INFO(msg)   IPSDK_LOG_INFO(Sample_Lightness, msg);
 Logging of message msg with info log level.
 
#define SAMPLE_LIGHTNESS_LOG_WARN(msg)   IPSDK_LOG_WARN(Sample_Lightness, msg);
 Logging of message msg with warn log level.
 
#define SAMPLE_LIGHTNESS_LOG_ERROR(msg)   IPSDK_LOG_ERROR(Sample_Lightness, msg);
 Logging of message msg with error log level.
 
Exceptions

Macros enabling exception management for library Sample_Lightness.

#define SAMPLE_LIGHTNESS_THROW(msg)   IPSDK_THROW(Sample_Lightness, msg);
 Unconditional exception thrown with logging of msg value.
 
#define SAMPLE_LIGHTNESS_RETHROW(msg, previousException)   IPSDK_RETHROW(Sample_Lightness, msg, previousException);
 Unconditional exception rethrown from previousException with logging of msg value.
 
#define SAMPLE_LIGHTNESS_CHECK(bPredicate, msg)   IPSDK_CHECK(Sample_Lightness, bPredicate, msg);
 Check of predicate bPredicate with exception thrown with logging of msg value in case of failure.
 

Functions

SAMPLE_LIGHTNESS_API const std::string & ipsdk::sample::getSample_LightnessLoggerName ()
 Recovery of logger name associated to library.
 
SAMPLE_LIGHTNESS_API log4cplus::Logger & ipsdk::sample::getSample_LightnessLogger ()
 Recovery of logger associated to library.
 
SAMPLE_LIGHTNESS_API const ipsdk::LogMessageManageripsdk::sample::getSample_LightnessLogMessageManager ()
 Recovery of message manager associated to library.
 

Detailed Description

Logger api for executable Sample_Lightness.

Author
H. Delestre
Date
2014/09/30