Class Trace
java.lang.Object
|
+----Trace
- public class Trace
- extends Object
A facility for tracing program execution.
Java 1.1 Implementation
-
Trace()
-
-
entry()
- If tracing is on, log entry to the caller's method.
-
exit()
- If tracing is on, log exit from the caller's method.
-
isTracingOn()
- Is tracing on ?
-
note(String)
- If tracing is on, log the caller's message.
-
trace(boolean)
- Turn tracing on or off.
-
traceOff()
- Turn tracing off.
-
traceOn()
- Turn tracing on.
Trace
public Trace()
entry
public static void entry()
- If tracing is on, log entry to the caller's method.
exit
public static void exit()
- If tracing is on, log exit from the caller's method.
isTracingOn
public static boolean isTracingOn()
- Is tracing on ?
- Returns:
- true if tracing is on.
note
public static void note(String message)
- If tracing is on, log the caller's message.
- Parameters:
- String - a trace message.
trace
public static void trace(boolean on)
- Turn tracing on or off.
- Parameters:
- boolean - true turns tracing on.
traceOff
public static void traceOff()
- Turn tracing off.
traceOn
public static void traceOn()
- Turn tracing on.