log4cplus
2.1.0
|
This class is used to produce "Trace" logging. More...
#include <tracelogger.h>
Public Member Functions | |
TraceLogger (Logger l, log4cplus::tstring _msg, const char *_file=LOG4CPLUS_CALLER_FILE(), int _line=LOG4CPLUS_CALLER_LINE(), char const *_function=LOG4CPLUS_CALLER_FUNCTION()) | |
~TraceLogger () | |
This class is used to produce "Trace" logging.
When an instance of this class is created, it will log a "ENTER: " + msg
log message if TRACE_LOG_LEVEL is enabled for logger
. When an instance of this class is destroyed, it will log a "ENTER: " + msg
log message if TRACE_LOG_LEVEL is enabled for logger
.
Definition at line 50 of file tracelogger.h.
|
inline |
Definition at line 53 of file tracelogger.h.
References log4cplus::Logger::forcedLog(), log4cplus::Logger::isEnabledFor(), LOG4CPLUS_TEXT, and log4cplus::TRACE_LOG_LEVEL.
|
inline |
Definition at line 65 of file tracelogger.h.
References log4cplus::Logger::forcedLog(), log4cplus::Logger::isEnabledFor(), LOG4CPLUS_TEXT, and log4cplus::TRACE_LOG_LEVEL.