10#ifndef _LOG4CPP_NDC_HH
11#define _LOG4CPP_NDC_HH
74 static bool isUsedNDC;
75 static const std::string emptyString;
117 static const std::string& get();
123 static size_t getDepth();
137 static std::string pop();
147 static void push(
const std::string& message);
155 static void setMaxDepth(
int maxDepth);
161 static NDC& getNDC();
167 virtual void _clear();
169 virtual const std::string& _get()
const;
170 virtual size_t _getDepth()
const;
172 virtual std::string _pop();
173 virtual void _push(
const std::string& message);
174 virtual void _setMaxDepth(
int maxDepth);
#define LOG4CPP_EXPORT
Definition Export.hh:26
#define LOG4CPP_UNIQUE_PTR
Definition Portability.hh:75
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patte...
Definition NDC.hh:69
ContextStack _stack
Definition NDC.hh:176
std::vector< DiagnosticContext > ContextStack
Definition NDC.hh:86
The top level namespace for all 'Log for C++' types and classes.
Definition AbortAppender.hh:16
std::string fullMessage
Definition NDC.hh:83
std::string message
Definition NDC.hh:82