10 #ifndef _LOG4SHIB_NDC_HH 11 #define _LOG4SHIB_NDC_HH 106 static ContextStack* cloneStack();
112 static const std::string&
get();
118 static int getDepth();
120 static void inherit(ContextStack* stack);
132 static std::string pop();
142 static void push(
const std::string& message);
150 static void setMaxDepth(
int maxDepth);
156 static NDC& getNDC();
162 virtual void _clear();
163 virtual ContextStack* _cloneStack();
164 virtual const std::string& _get()
const;
165 virtual int _getDepth()
const;
166 virtual void _inherit(ContextStack* stack);
167 virtual std::string _pop();
168 virtual void _push(
const std::string& message);
169 virtual void _setMaxDepth(
int maxDepth);
175 #endif // _LOG4SHIB_NDC_HH std::string message
Definition: NDC.hh:77
std::string fullMessage
Definition: NDC.hh:78
#define LOG4SHIB_EXPORT
Definition: Export.hh:11
ContextStack _stack
Definition: NDC.hh:171
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patte...
Definition: NDC.hh:69
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16
std::vector< DiagnosticContext > ContextStack
Definition: NDC.hh:81