activemq-cpp-3.6.0
decaf::util::logging::MarkBlockLogger Class Reference

Defines a class that can be used to mark the entry and exit from scoped blocks. More...

#include <src/main/decaf/util/logging/MarkBlockLogger.h>

Public Member Functions

 MarkBlockLogger (Logger *logger, const std::string &blockName)
 Constructor - Marks Block entry.
virtual ~MarkBlockLogger ()

Detailed Description

Defines a class that can be used to mark the entry and exit from scoped blocks.

Create an instance of this class at the start of a scoped block, passing it the logger to use and the name of the block. The block entry and exit will be marked using the scope name, logger to the logger at the MARKBLOCK log level.

Constructor & Destructor Documentation

decaf::util::logging::MarkBlockLogger::MarkBlockLogger ( Logger logger,
const std::string &  blockName 
)
inline

Constructor - Marks Block entry.

Parameters
loggerLogger to use
blockNameBlock name
virtual decaf::util::logging::MarkBlockLogger::~MarkBlockLogger ( )
inlinevirtual

The documentation for this class was generated from the following file: