ndc.h(3)

ndc.h(3) log4cplus ndc.h(3)

NAME

ndc.h

SYNOPSIS

#include <log4cplus/config.hxx>
#include <log4cplus/tstring.h>
#include <map>
#include <deque>

Classes


class log4cplus::NDC
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article 'Patterns for Logging Diagnostic Messages' part of the book 'Pattern Languages of Program Design 3' edited by Martin et al. " struct log4cplus::DiagnosticContext
This is the internal object that is stored on the NDC stack. class log4cplus::NDCContextCreator
This class ensures that a NDC::push() call is always matched with a NDC::pop() call even in the face of exceptions.

Namespaces


log4cplus

Typedefs


typedef std::deque< DiagnosticContext > log4cplus::DiagnosticContextStack

Functions


LOG4CPLUS_EXPORT NDC & log4cplus::getNDC ()
Return a reference to the singleton object.

Detailed Description

This header defined the NDC class.

Definition in file ndc.h.

Author

Generated automatically by Doxygen for log4cplus from the source code.

Fri Jun 18 2021 Version 2.0.6