|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Tracer.Logger
Logging strings to an outputStream. Logging may be started and stopped.
Method Summary | |
---|---|
void |
log(java.lang.String msg)
Write msg to the log. |
boolean |
start()
Start logging, that is, printing log entries written using log(String) . |
boolean |
stop()
Stop logging, that is, stop printing log entries written using log(String) . |
Method Detail |
---|
boolean start()
log(String)
. Multiple successive starts are equivalent to a
single start.
true
if start actually started the logger;
false
otherwise.boolean stop()
log(String)
. Flush preceding writes. The logger can only be
stopped if started. Multiple successive stops are equivalent to a
single stop.
true
if stop actually stopped the logger;
false
otherwise.void log(java.lang.String msg)
msg
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |