class Poco::NDCScope
Overview
This class can be used to automatically push a context onto the NDC stack at the beginning of a scope, and to pop the context at the end of the scope. Moreā¦
#include <NestedDiagnosticContext.h> class NDCScope { public: // construction NDCScope(const std::string& info); NDCScope( const std::string& info, int line, const char* filename ); };
Detailed Documentation
This class can be used to automatically push a context onto the NDC stack at the beginning of a scope, and to pop the context at the end of the scope.