traceWrite()

Calls the appropriate trace-write function to write a trace message for the data handler.

Syntax

public void traceWrite(String message, int level);
 

Parameters

message
The message text to use for the trace message.
level
An integer specifying the trace level for the message. The trace level is from 0-5, where 0 specifies no tracing and 5 specifies full tracing.

Return values

None.

Notes

The traceWrite() method is a wrapper method that calls the appropriate trace write function depending on the context in which the data handler runs. The default tracing is connector tracing. If your integration broker is InterChange Server and the data handler is run in the context of the Server Access Interface, the traceWrite() method sets the tracing subsystem before calling the trace-write method.

Copyright IBM Corp. 1997, 2003