public final static void traceWrite(int traceLevel, String msg);
JavaConnectorUtil.LEVEL1 JavaConnectorUtil.LEVEL2 JavaConnectorUtil.LEVEL3 JavaConnectorUtil.LEVEL4 JavaConnectorUtil.LEVEL5
The method writes the trace message when the current trace level is greater than or equal to traceLevel.
None.
You can use the traceWrite() method to write your own trace messages for a connector. Tracing is turned on for connectors when the TraceLevel connector configuration property is set to a nonzero value (any trace-level constant except LEVEL0).
The traceWrite() method sends the specified msg text to the trace destination when the current trace level is greater than or equal to traceLevel. You establish the name of a connector's trace destination through the Tracing section in the Trace/Log File tab of Connector Configurator.
Because trace messages are usually needed only during debugging, whether trace messages are contained in a message file is left at the discretion of the developer:
Connector messages logged with traceWrite() are not viewable using LogViewer.
See the description of the generateMsg() method.