|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Debug
Debug control class globally available to an application that wishes to conditionally generate helpful debugging messages.
| Constructor Summary | |
protected |
Debug()
Sole constructor. |
| Method Summary | |
static void |
msg(int importance,
java.lang.Object s)
Displays a debug message (or more geneally object) of the specified importance. |
static int |
setDebugLevel(int level)
Change the current debug level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Debug()
| Method Detail |
public static int setDebugLevel(int level)
level - the new level
public static void msg(int importance,
java.lang.Object s)
importance - of this message. If < current level, nothing is displayed.s - message (or more generally, object) to be displayed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||