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
RunTimeProperties.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
RunTimeProperties.traceOn(int level) 

Sends all trace messages equal or greater than the value specified with level to Standard Error.

SYNTAX
RunTimeProperties.traceOn(String fileName) 

Sends all trace messages of level 2 and greater to the file specified with fileName.

SYNTAX
RunTimeProperties.traceOn() 

Sends all trace messages of level 2 and greater to Standard Error.

SYNTAX
RunTimeProperties.traceOff()  

Turns off tracing.

SYNTAX
Boolean RunTimeProperties.isTracing()  

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


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