|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapp.SToCApplet.SToCALogger
public static class SToCApplet.SToCALogger
Logger implementation for a SToC Applet, using standard output
as the target for logging output, also providing a means
(setLogEnabled(boolean)
) of dynamically switching logging
on and off.
Constructor Summary | |
---|---|
SToCApplet.SToCALogger(java.lang.String enabledflag)
Constructs a new logger, initially enabled or not as specified by the given flag string. |
Method Summary | |
---|---|
void |
log(java.lang.String msg)
Outputs the given message on the log writer, if SPA logging is enabled. |
void |
logb(java.lang.String msg)
Outputs the given message on the log writer with no prefix (i.e. |
boolean |
logIsEnabled()
Indicates if SPA logging is currently enabled. |
void |
logp(java.lang.String msg)
Outputs the given message on the log writer with the standard prefix, if SPA logging is enabled. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SToCApplet.SToCALogger(java.lang.String enabledflag)
Method Detail |
---|
public final void log(java.lang.String msg)
log
in interface Logger
public final void logp(java.lang.String msg)
public final void logb(java.lang.String msg)
public final boolean logIsEnabled()
logIsEnabled
in interface Logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |