|
log4cplus
2.0.0
|
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>
Public Member Functions | |
| NDCContextCreator (const log4cplus::tstring &msg) | |
Pushes msg onto the NDC stack. | |
| NDCContextCreator (tchar const *msg) | |
| NDCContextCreator () | |
| NDCContextCreator (NDCContextCreator const &) | |
| NDCContextCreator (NDCContextCreator &&) | |
| NDCContextCreator & | operator= (NDCContextCreator const &) |
| NDCContextCreator & | operator= (NDCContextCreator &&) |
| ~NDCContextCreator () | |
| Pops the NDC stack. | |
This class ensures that a `NDC::push()` call is always matched with a `NDC::pop()` call even in the face of exceptions.
| log4cplus::NDCContextCreator::NDCContextCreator | ( | const log4cplus::tstring & | msg | ) | [explicit] |
Pushes msg onto the NDC stack.
| log4cplus::NDCContextCreator::NDCContextCreator | ( | tchar const * | msg | ) | [explicit] |
Pops the NDC stack.
| NDCContextCreator& log4cplus::NDCContextCreator::operator= | ( | NDCContextCreator const & | ) |
| NDCContextCreator& log4cplus::NDCContextCreator::operator= | ( | NDCContextCreator && | ) |
1.7.6.1