|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--guk.editIM.DebugEditIM
Helper class for debug messages. Used by all EditIM parts that show more than plain "Initializing... done." messages.
Field Summary | |
(package private) static int |
debug
debug level: -1 mute, 0 normal, 1 verbose, 2 very verbose, 3 wow! recommended setting: 0 or 1. |
Constructor Summary | |
DebugEditIM()
|
Method Summary | |
static void |
println(int level,
java.lang.String text)
The only interface is this static method ... |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final int debug
Constructor Detail |
public DebugEditIM()
Method Detail |
public static void println(int level, java.lang.String text)
level
- The verbosity level: If it is at most as high as
the debug level, the text will be printed. Too verbose requests
are ignored.text
- The text that will be printed, after prefixing the
name of the class and method of the caller (but not the package
name of it, just the last part of the name).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |