|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--org.javagroups.log.Tracer
|
+--org.javagroups.log.PrintStreamTracer
Provides output to a PrintStream. All methods defined
here have permissions that are either protected or package.
| Field Summary | |
|---|---|
protected java.io.PrintStream |
out
|
| Fields inherited from class org.javagroups.log.Tracer |
|---|
autoFlush, closed, level, module, timestampFormat |
| Method Summary | |
|---|---|
protected void |
doClose()
Flushes any pending output (by calling flush) and closes
the output stream associated with this tracer. |
protected void |
doFlush()
Flushes any pending output. |
protected void |
doPrint(java.lang.String message)
Sends the already-formatted message to the output file,
stream, writer, or socket associated with this tracer. |
| Methods inherited from class org.javagroups.log.Tracer |
|---|
close, 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 |
| Field Detail |
protected java.io.PrintStream out
| Method Detail |
protected void doPrint(java.lang.String message)
message to the output file,
stream, writer, or socket associated with this tracer.
doPrint in class Tracermessage - a formatted stringprotected void doFlush()
flush, but only
if not alread closed.
This call flushes the print stream of the socket
doFlush in class Tracerprotected void doClose()
flush) and closes
the output stream 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 | |||||||||||