17#ifndef _DECAF_UTIL_LOGGING_MARKBLOCKLOGGER_H_
18#define _DECAF_UTIL_LOGGING_MARKBLOCKLOGGER_H_
43 std::string blockName;
54 this->logger = logger;
55 this->blockName = blockName;
57 logger.mark(blockName +
" - Entered");
62 logger->mark(blockName +
" - Exited");
A Logger object is used to log messages for a specific system or application component.
Definition: Logger.h:86
Defines a class that can be used to mark the entry and exit from scoped blocks.
Definition: MarkBlockLogger.h:36
virtual ~MarkBlockLogger()
Definition: MarkBlockLogger.h:60
MarkBlockLogger(Logger *logger, const std::string &blockName)
Constructor - Marks Block entry.
Definition: MarkBlockLogger.h:52
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25