xmltooling 3.0.2

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:
contextnull-terminated label for context
xmltooling::NDC::NDC ( const std::string &  context)

Constructor pushes logging context onto diagnostic stack.

Parameters:
contextstring label for context

The documentation for this class was generated from the following file: