public final class DebugPrinter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG_LEVEL
level of debug information to print: 0 = none, 1 = some, 2 = more, ...
|
| Constructor and Description |
|---|
DebugPrinter() |
| Modifier and Type | Method and Description |
|---|---|
void |
print(int debug,
java.lang.Object o)
Print object to standard error stream iff debug level is
more than debug argument
|
void |
println(int debug,
java.lang.Object o)
Println object to standard error stream iff debug level is
more than debug argument
|
static void |
setDebugLevel(int debug)
Set level of debug information to print
|
public static int DEBUG_LEVEL
public static void setDebugLevel(int debug)
debug - level of verbositypublic final void println(int debug,
java.lang.Object o)
debug - level at which to print the messageo - the message to printpublic void print(int debug,
java.lang.Object o)
debug - level at which to print the messageo - the message to print