Class Trace

java.lang.Object
   |
   +----Trace

public class Trace
extends Object
A facility for tracing program execution. Java 1.1 Implementation


Constructor Index

 o Trace()

Method Index

 o entry()
If tracing is on, log entry to the caller's method.
 o exit()
If tracing is on, log exit from the caller's method.
 o isTracingOn()
Is tracing on ?
 o note(String)
If tracing is on, log the caller's message.
 o trace(boolean)
Turn tracing on or off.
 o traceOff()
Turn tracing off.
 o traceOn()
Turn tracing on.

Constructors

 o Trace
 public Trace()

Methods

 o entry
 public static void entry()
If tracing is on, log entry to the caller's method.

 o exit
 public static void exit()
If tracing is on, log exit from the caller's method.

 o isTracingOn
 public static boolean isTracingOn()
Is tracing on ?

Returns:
true if tracing is on.
 o note
 public static void note(String message)
If tracing is on, log the caller's message.

Parameters:
String - a trace message.
 o trace
 public static void trace(boolean on)
Turn tracing on or off.

Parameters:
boolean - true turns tracing on.
 o traceOff
 public static void traceOff()
Turn tracing off.

 o traceOn
 public static void traceOn()
Turn tracing on.