xmltooling::NDC Class Reference

A portable stack-based context for diagnostic logging. More...

#include <xmltooling/util/NDC.h>

List of all members.

Public Member Functions

 NDC (const char *context)
 Constructor pushes logging context onto diagnostic stack.
 NDC (const std::string &context)
 Constructor pushes logging context onto diagnostic stack.
 ~NDC ()
 Destructor pops context off of diagnostic stack.


Detailed Description

A portable stack-based context for diagnostic logging.


Constructor & Destructor Documentation

xmltooling::NDC::NDC ( const char *  context  ) 

Constructor pushes logging context onto diagnostic stack.

Parameters:
context null-terminated label for context

xmltooling::NDC::NDC ( const std::string &  context  ) 

Constructor pushes logging context onto diagnostic stack.

Parameters:
context string label for context


The documentation for this class was generated from the following file:
Generated on Mon Oct 19 14:18:35 2009 for xmltooling by  doxygen 1.4.7