|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javagroups.log.Tracer
org.javagroups.log.SystemTracer
Abstract superclass of SystemOutTracer
and
SystemErrTracer
; avoids ever closing output stream.
Field Summary |
Fields inherited from class org.javagroups.log.Tracer |
autoFlush, closed, level, module, timestampFormat |
Method Summary | |
void |
close()
Flushes any pending output (by calling flush ) but does not
close the output stream (System.err or System.out). |
protected void |
doClose()
Flushes any pending output (by calling flush ) and closes
the output file, stream, writer, or socket associated with this tracer. |
Methods inherited from class org.javagroups.log.Tracer |
doFlush, doPrint, flush, getAutoFlush, getLevel, getModule, logString, logString, print, print, setAutoFlush, setLevel, setTimestampFormat, timestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void close()
flush
) but does not
close the output stream (System.err or System.out).
After this method has been called, all calls to print
will still be successful.
close
in class Tracer
protected void doClose()
Tracer
flush
) and closes
the output file, stream, writer, or socket associated with this tracer.
Called from close
, but only if not alread closed.
After closed has been called, all calls to print
,
flush
, and close
are ignored.
doClose
in class Tracer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |