|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.report.FileReporter
Class FileReporter writes logging events to an output stream.
Field Summary | |
protected java.io.PrintStream |
printStream
Stream to which we print logging events. |
Constructor Summary | |
FileReporter(java.io.OutputStream stream)
Constructs a FileReporter that uses the given output stream. |
Method Summary | |
void |
report(LoggingEvent event)
Report the given logging event. |
void |
setOutput(java.io.OutputStream output)
Set the output stream to which this reporter writes logging events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.PrintStream printStream
Constructor Detail |
public FileReporter(java.io.OutputStream stream)
output
- output stream to write to.Method Detail |
public void report(LoggingEvent event)
report
in interface Reporter
event
- logging event.public void setOutput(java.io.OutputStream output)
output
- output stream to write to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |