log4cplus  2.0.0
Public Member Functions
log4cplus::MDC Class Reference

#include <mdc.h>

List of all members.

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)
MappedDiagnosticContextMap const & getContext () const
 MDC ()
virtual ~MDC ()

Detailed Description

Definition at line 46 of file mdc.h.


Constructor & Destructor Documentation

virtual log4cplus::MDC::~MDC ( ) [virtual]

Member Function Documentation

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
void log4cplus::MDC::put ( tstring const &  key,
tstring const &  value 
)
void log4cplus::MDC::remove ( tstring const &  key)

The documentation for this class was generated from the following file: