|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soc.disableDebug.D
public class D
Debug output; the disabled class is always off.
D
and soc.disableDebug.D have the same interface, to easily switch
debug on and off per class.
Field Summary | |
---|---|
static boolean |
ebugOn
|
Constructor Summary | |
---|---|
D()
|
Method Summary | |
---|---|
void |
debug(java.lang.String text)
Debug-println this text; for compatibility with log4j. |
static void |
ebug_disable()
Always disabled; does nothing, since this is the disabled version. |
static void |
ebug_enable()
Does nothing, since this is the disabled version. |
static boolean |
ebugIsEnabled()
Is debug currently enabled? |
static void |
ebugPrint(java.lang.String text)
DOCUMENT ME! |
static void |
ebugPrintln()
DOCUMENT ME! |
static void |
ebugPrintln(java.lang.String text)
DOCUMENT ME! |
static void |
ebugPrintStackTrace(java.lang.Throwable ex,
java.lang.String prefixMsg)
If debug is enabled, print the stack trace of this exception |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean ebugOn
Constructor Detail |
---|
public D()
Method Detail |
---|
public static final void ebug_enable()
public static final void ebug_disable()
public static final boolean ebugIsEnabled()
public static final void ebugPrintln(java.lang.String text)
text
- DOCUMENT ME!public static final void ebugPrintln()
public static final void ebugPrintStackTrace(java.lang.Throwable ex, java.lang.String prefixMsg)
ex
- Exception or other ThrowableprefixMsg
- Message for ebugPrintln(String)
above the exception,
or nullpublic static final void ebugPrint(java.lang.String text)
text
- DOCUMENT ME!public final void debug(java.lang.String text)
ebugPrintln(String)
.
text
- Text to debug-print
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |