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

Logger api for executable Sample_Benchmark. More...

#include <IPSDKUtil/Logger/BaseLog.h>
#include <Sample/Sample_Benchmark/Logger/Sample_BenchmarkException.h>
#include <Sample/Sample_Benchmark/Logger/Sample_BenchmarkLogMessages.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_Benchmark.

#define SAMPLE_BENCHMARK_LOG_TRACE(msg)   IPSDK_LOG_TRACE(Sample_Benchmark, msg);
 Logging of message msg with trace log level.
 
#define SAMPLE_BENCHMARK_LOG_DEBUG(msg)   IPSDK_LOG_DEBUG(Sample_Benchmark, msg);
 Logging of message msg with debug log level.
 
#define SAMPLE_BENCHMARK_LOG_INFO(msg)   IPSDK_LOG_INFO(Sample_Benchmark, msg);
 Logging of message msg with info log level.
 
#define SAMPLE_BENCHMARK_LOG_WARN(msg)   IPSDK_LOG_WARN(Sample_Benchmark, msg);
 Logging of message msg with warn log level.
 
#define SAMPLE_BENCHMARK_LOG_ERROR(msg)   IPSDK_LOG_ERROR(Sample_Benchmark, msg);
 Logging of message msg with error log level.
 
Exceptions

Macros enabling exception management for library Sample_Benchmark.

#define SAMPLE_BENCHMARK_THROW(msg)   IPSDK_THROW(Sample_Benchmark, msg);
 Unconditional exception thrown with logging of msg value.
 
#define SAMPLE_BENCHMARK_RETHROW(msg, previousException)   IPSDK_RETHROW(Sample_Benchmark, msg, previousException);
 Unconditional exception rethrown from previousException with logging of msg value.
 
#define SAMPLE_BENCHMARK_CHECK(bPredicate, msg)   IPSDK_CHECK(Sample_Benchmark, bPredicate, msg);
 Check of predicate bPredicate with exception thrown with logging of msg value in case of failure.
 

Functions

SAMPLE_BENCHMARK_API const std::string & ipsdk::sample::getSample_BenchmarkLoggerName ()
 Recovery of logger name associated to library.
 
SAMPLE_BENCHMARK_API log4cplus::Logger & ipsdk::sample::getSample_BenchmarkLogger ()
 Recovery of logger associated to library.
 
SAMPLE_BENCHMARK_API const ipsdk::LogMessageManageripsdk::sample::getSample_BenchmarkLogMessageManager ()
 Recovery of message manager associated to library.
 

Detailed Description

Logger api for executable Sample_Benchmark.

Author
E.Noirfalise
Date
2014/11/13