|
JSS 3.2 | |||||||||
| 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
|
private static int |
mDebugLevel
The debug level of the application. |
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. |
private static void |
setNativeLevel(int level)
|
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
private static int mDebugLevel
| 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)
private static void setNativeLevel(int level)
public static int getLevel()
public static java.lang.String getLevelStr()
|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||