|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Debug
This interface defines basic debugging behavior.
| Method Summary | |
|---|---|
boolean |
on()
|
void |
on(boolean on)
|
java.io.PrintStream |
out()
|
void |
out(java.lang.Class caller,
java.lang.String msg)
Outputs the given message, originating from an instance of the given class. |
void |
out(java.lang.Class caller,
java.lang.String msg,
java.lang.Throwable err)
Outputs the given message and error, originating from an instance of the given class. |
| Method Detail |
|---|
void out(java.lang.Class caller,
java.lang.String msg)
caller - the Class from which the call is made.msg - the message to output.
void out(java.lang.Class caller,
java.lang.String msg,
java.lang.Throwable err)
caller - the Class from which the call is made.msg - the message to output.err - a Throwable.java.io.PrintStream out()
PrintStream this is used to perform the output.boolean on()
true if debugging is on.void on(boolean on)
on - true if debugging should be turned on,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||