trace

Displays a character string message if the current trace level is greater than the specified level.

Syntax

C++

 #include "Trace.h"
 
 void Trace::trace(
    const char   *message,
    int           level);
 
 

Parameters

message
(IN) Points to the message to display.
level
(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