10 #ifndef _LOG4CPP_NDC_HH
11 #define _LOG4CPP_NDC_HH
74 static bool isUsedNDC;
75 static const std::string emptyString;
112 static ContextStack* cloneStack();
118 static const std::string&
get();
124 static size_t getDepth();
126 static void inherit(ContextStack* stack);
138 static std::string pop();
148 static void push(
const std::string& message);
156 static void setMaxDepth(
int maxDepth);
162 static NDC& getNDC();
168 virtual void _clear();
169 virtual ContextStack* _cloneStack();
170 virtual const std::string& _get()
const;
171 virtual size_t _getDepth()
const;
172 virtual void _inherit(ContextStack* stack);
173 virtual std::string _pop();
174 virtual void _push(
const std::string& message);
175 virtual void _setMaxDepth(
int maxDepth);
181 #endif // _LOG4CPP_NDC_HH
ContextStack _stack
Definition: NDC.hh:177
std::string message
Definition: NDC.hh:83
std::vector< DiagnosticContext > ContextStack
Definition: NDC.hh:87
#define LOG4CPP_EXPORT
Definition: Export.hh:19
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patte...
Definition: NDC.hh:69
std::string fullMessage
Definition: NDC.hh:84