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:
logger Logger to use
blockName Block name
virtual decaf::util::logging::MarkBlockLogger::~MarkBlockLogger (  )  [inline, virtual]

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

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1