activemq-cpp-3.6.0
|
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 () |
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.
|
inline |
Constructor - Marks Block entry.
logger | Logger to use |
blockName | Block name |
|
inlinevirtual |