setTraceOn() - trillium_quality - 17.2

Trillium Director SDK Reference Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Quality
Version
17.2
Language
English
Product name
Trillium Quality
Title
Trillium Director SDK Reference Guide
Topic type
Overview
Administration
Configuration
Installation
Reference
How Do I
First publish date
2008

The setTraceOn() method begins a trace function that sends trace data to the file specified by the setTraceFile() method. All network traffic flow between the client application and the Director components will be traced until a setTraceOff() method is issued.

Syntax

public void setTraceOn(void);

Example

TrilGenClient testClient = new TrilTGenClient();
String fileName = “/temp/client.trc”;                //Trace o/p to
client.trc
testClient.setTraceFile(fileName);                    //Set trace file name
testClient.setTraceOn();                            //Begin tracing
        .
        .
        .
testClient.setTraceOff():                        //Stop tracing