Progress
Open Client
Developer’s Guide


Methods For Tracing

Tracing logs highlights of proxy execution, including data received by the client and data passed to the AppServer. The following methods provide tracing functionality to the Open Client application:

SYNTAX
traceOn(String fileName, int level) 

Sends all trace messages equal or greater than the value specified with level to the file specified with fileName. If filename is not specified, the output is Standard Error. The lower the value for level, the greater the information. If the level is not specified, the value equals 2.

SYNTAX
traceOnDefaultLevel(String filename) 

Sends trace information to the file specified with filename. If no file is specified, the output is Standard Error.

SYNTAX
traceoff() 

Turns off tracing.

SYNTAX
Boolean isTracing()  

Returns TRUE if tracing is turned on. Returns FALSE if tracing is turned off.

NOTE: For ActiveX clients, tracing information is always written to a file.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095