log4cplus_NDCContextCreator(3)
| log4cplus::NDCContextCreator(3) | log4cplus | log4cplus::NDCContextCreator(3) |
NAME
log4cplus::NDCContextCreator - This class ensures that a NDC::push() call is always matched with a NDC::pop() call even in the face of exceptions.
SYNOPSIS
#include <ndc.h>
Public Member Functions
NDCContextCreator (const log4cplus::tstring
&msg)
Pushes msg onto the NDC stack. NDCContextCreator
(tchar const *msg)
NDCContextCreator ()=delete
NDCContextCreator (NDCContextCreator const &)=delete
NDCContextCreator (NDCContextCreator &&)=delete
NDCContextCreator & operator= (NDCContextCreator
const &)=delete
NDCContextCreator & operator= (NDCContextCreator
&&)=delete
~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
log4cplus::NDCContextCreator::NDCContextCreator (const log4cplus::tstring & msg) [explicit]
Pushes msg onto the NDC stack.
log4cplus::NDCContextCreator::NDCContextCreator (tchar const * msg) [explicit]
log4cplus::NDCContextCreator::NDCContextCreator () [delete]
log4cplus::NDCContextCreator::NDCContextCreator (NDCContextCreator const &) [delete]
log4cplus::NDCContextCreator::NDCContextCreator (NDCContextCreator &&) [delete]
log4cplus::NDCContextCreator::~NDCContextCreator ()
Pops the NDC stack.
Member Function Documentation
NDCContextCreator& log4cplus::NDCContextCreator::operator= (NDCContextCreator &&) [delete]
NDCContextCreator& log4cplus::NDCContextCreator::operator= (NDCContextCreator const &) [delete]
Author
Generated automatically by Doxygen for log4cplus from the source code.
| Fri Jun 18 2021 | Version 2.0.6 |
