log4cplus_MDC(3)
| log4cplus::MDC(3) | log4cplus | log4cplus::MDC(3) |
NAME
log4cplus::MDC
SYNOPSIS
#include <mdc.h>
Public Member Functions
void clear ()
Clear any nested diagnostic information if any. void put
(tstring const &key, tstring const &value)
bool get (tstring *value, tstring const &key) const
void remove (tstring const &key)
const MappedDiagnosticContextMap & getContext () const
MDC ()
virtual ~MDC ()
Detailed Description
Definition at line 46 of file mdc.h.
Constructor & Destructor Documentation
log4cplus::MDC::MDC ()
virtual log4cplus::MDC::~MDC () [virtual]
Member Function Documentation
void log4cplus::MDC::clear ()
Clear any nested diagnostic information if any. This method is useful in cases where the same thread can be potentially used over and over in different unrelated contexts.
bool log4cplus::MDC::get (tstring * value, tstring const & key) const
const MappedDiagnosticContextMap& log4cplus::MDC::getContext () const
Referenced by log4cplus::spi::InternalLoggingEvent::getMDCCopy().
void log4cplus::MDC::put (tstring const & key, tstring const & value)
void log4cplus::MDC::remove (tstring const & key)
Author
Generated automatically by Doxygen for log4cplus from the source code.
| Fri Jun 18 2021 | Version 2.0.6 |
