activemq::logger::MarkBlockLogger Class Reference

#include <MarkBlockLogger.h>

List of all members.

Public Member Functions

 MarkBlockLogger (Logger *logger, const std::string &blockName)
virtual ~MarkBlockLogger (void)

Private Attributes

Loggerlogger
std::string blockName


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

activemq::logger::MarkBlockLogger::MarkBlockLogger Logger logger,
const std::string &  blockName
[inline]
 

Constructor - Marks Block entry

Parameters:
logger Logger to use
blockName Block name

virtual activemq::logger::MarkBlockLogger::~MarkBlockLogger void   )  [inline, virtual]
 


Member Data Documentation

std::string activemq::logger::MarkBlockLogger::blockName [private]
 

Logger* activemq::logger::MarkBlockLogger::logger [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 18:03:33 2006 for activemq-cpp by  doxygen 1.4.5