|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.util.Trace
public class Trace
This class contains debugging aids for tracing calls.
| Field Summary | |
|---|---|
static boolean |
verbose
Defines the verbosity of the tracer during static initialization. |
| Method Summary | |
|---|---|
static void |
BeginInit(Class clazz)
Notifies the tracer that the static initializers of a class are about to be executed. |
static void |
EndInit(Class clazz)
Notifies the tracer that the static initializers of a class have finished being executed. |
static void |
PrintStackTrace()
Prints a backtrace of the stack. |
static void |
PrintStackTrace(String message)
Prints a backtrace of the stack, with a custom message. |
static void |
TraceMethod(boolean printLineNumber,
Object object)
Prints the class, method and optionally the line number of the method that called TraceMethod(), plus the custom object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean verbose
| Method Detail |
|---|
public static void BeginInit(Class clazz)
public static void EndInit(Class clazz)
public static void PrintStackTrace()
public static void PrintStackTrace(String message)
public static void TraceMethod(boolean printLineNumber,
Object object)
printLineNumber - indicate if the line number should be printed or
not. Note that depending on the VM, the line number can be available or
not.object - an additional object that is printed at the end of the line
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||