public class Debug
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
debug
This value enables (true) or disables (false) debugging.
|
private static boolean |
error
This value enables (true) or disables (false) error messages.
|
| Constructor and Description |
|---|
Debug() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dbgPrint(java.lang.String s)
Print the given String if debugging is enabled.
|
static void |
errorPrint(java.lang.String s)
Print the given String if error is enabled.
|
static void |
setDebug(boolean value)
Set the debugging on or off.
|
private static boolean debug
private static boolean error
public static void dbgPrint(java.lang.String s)
s - The String to be printed.public static void errorPrint(java.lang.String s)
s - The String to be printed.public static void setDebug(boolean value)
value - True to switch debugging on,
false to switch debugging off.