|
JSS 3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.mozilla.jss.util.Debug
Controls debug-mode operation of JSS classes, and allows for printing trace statements to standard output.
Assert| Field Summary | |
static boolean |
DEBUG
Controls debug mode for JSS. |
static int |
ERROR
|
static int |
OBNOXIOUS
|
static int |
QUIET
|
static int |
VERBOSE
|
| Constructor Summary | |
Debug()
|
|
| Method Summary | |
static int |
getLevel()
Get debugging level of the application. |
static java.lang.String |
getLevelStr()
|
static void |
setLevel(int level)
Set the debugging level of the application. |
static void |
trace(int level,
java.lang.String str)
Print a trace statement to standard output. |
static void |
trace(java.lang.String str)
Print a trace statement to standard output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final boolean DEBUG
Assert,
Constant Field Valuespublic static final int OBNOXIOUS
public static final int VERBOSE
public static final int ERROR
public static final int QUIET
| Constructor Detail |
public Debug()
| Method Detail |
public static void trace(int level,
java.lang.String str)
level - The detail level of the statement.
The level must be greater than 0.str - The trace statement.public static void trace(java.lang.String str)
str - The trace statement.public static void setLevel(int level)
public static int getLevel()
public static java.lang.String getLevelStr()
|
JSS 3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||