|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.xml.Debugger
public class Debugger
Control the printing of debug information (related to the XML compontents of the Birkbeck package) printed on the command line.
| Constructor Summary | |
|---|---|
Debugger()
|
|
| Method Summary | |
|---|---|
static boolean |
atDebugLevel(int level)
Return true if the debug level set by setDebugLevel(int)is at least at a certain level. |
static int |
getDebugLevel()
Return the value of the debug level at set by setDebugLevel(int) |
static void |
setDebugLevel(int level)
Control the printing of debug information (related to the XML compontents of the Birkbeck package) printed on the command line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Debugger()
| Method Detail |
|---|
public static void setDebugLevel(int level)
level - value to set the debug level at, according to the following scale:
public static int getDebugLevel()
setDebugLevel(int)
public static boolean atDebugLevel(int level)
setDebugLevel(int)is at least at a certain level. For example, this is used in code of the
form if (atDebugLevel(5)) ... to ensure that something is only executed when the system has been set at debug level 5 or more
level - threshold value of debug level for which being "at a debug level" is true
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||