|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.gef.util.Dbg
This is a useful utility for debugging. In various places in the framework there are calls to Dbg.log(). If the proper -D defines are supplied when running the application those debugging statements will be enabled or disabled.
Field Summary | |
static VectorSet |
guards
Deprecated. |
static boolean |
on
Deprecated. |
Constructor Summary | |
Dbg()
Deprecated. |
Method Summary | |
static void |
assertTrue(boolean cond,
java.lang.String msg)
Deprecated. |
static void |
log(java.lang.String guard,
boolean cond,
java.lang.String msg)
Deprecated. Print the given message if the guard was defined with a command line -D option and the given condition evaluates to true. |
static void |
log(java.lang.String guard,
java.lang.String msg)
Deprecated. Print the given message if the guard was defined with a command line -D option. |
static void |
log(java.lang.String guard,
java.lang.Throwable t)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean on
public static final VectorSet guards
Constructor Detail |
public Dbg()
Method Detail |
public static final void assertTrue(boolean cond, java.lang.String msg)
public static final void log(java.lang.String guard, java.lang.String msg)
public static final void log(java.lang.String guard, java.lang.Throwable t)
public static final void log(java.lang.String guard, boolean cond, java.lang.String msg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |