log4cplus  2.0.0
Public Member Functions
log4cplus::NDCContextCreator Class Reference

This class ensures that a `NDC::push()` call is always matched with a `NDC::pop()` call even in the face of exceptions. More...

#include <ndc.h>

List of all members.

Public Member Functions

 NDCContextCreator (const log4cplus::tstring &msg)
 Pushes msg onto the NDC stack.
 NDCContextCreator (tchar const *msg)
 NDCContextCreator ()
 NDCContextCreator (NDCContextCreator const &)
 NDCContextCreator (NDCContextCreator &&)
NDCContextCreatoroperator= (NDCContextCreator const &)
NDCContextCreatoroperator= (NDCContextCreator &&)
 ~NDCContextCreator ()
 Pops the NDC stack.

Detailed Description

This class ensures that a `NDC::push()` call is always matched with a `NDC::pop()` call even in the face of exceptions.

Definition at line 310 of file ndc.h.


Constructor & Destructor Documentation

Pushes msg onto the NDC stack.

Pops the NDC stack.


Member Function Documentation

NDCContextCreator& log4cplus::NDCContextCreator::operator= ( NDCContextCreator const &  )
NDCContextCreator& log4cplus::NDCContextCreator::operator= ( NDCContextCreator &&  )

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