|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--support143.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 priority,
java.lang.Object s)
Displays a debug message (or more generally object) of the specified priority. |
static int |
setDebugLevel(int level)
Changes 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 priority, java.lang.Object s)
priority
- (lower values mean higher priority)s
- message displayed if priority is <= current debug level.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |