trace

Displays an XML document of type Document if the current trace level is greater than or equal to the specified level.

Syntax

C++

 #include "Trace.h"
 
 void Trace::trace(
    Document    *document
    int          level);
 
 

Parameters

document
(IN) Points to the XML document to display.
int
(IN) Specifies the trace level.

Remarks

The trace facility supports the following levels.

Level

Description

NO_TRACE=0

Display no trace messages

DEFAULT_TRACE=1

Display trace messages

XML_TRACE=2

Display XML documents