|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ryanm.logging.AbstractSink
com.ryanm.logging.StringSink
com.ryanm.logging.StreamSink
public class StreamSink
Logs messages in human-readable format to the supplied OutputStream. Each log message is seperated by a line break.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ryanm.logging.StringSink |
|---|
StringSink.StringSinkConfigurator |
| Constructor Summary | |
|---|---|
StreamSink(java.io.OutputStream ios,
java.lang.String description)
Constructs a new sink that will write messages to the supplied stream |
|
| Method Summary | |
|---|---|
protected void |
writeString(java.lang.String s)
This should be overridden to write the supplied string to wherever, stdOut, a file, something like that. |
| Methods inherited from class com.ryanm.logging.StringSink |
|---|
getConfigurator, log |
| Methods inherited from class com.ryanm.logging.AbstractSink |
|---|
addSinkListener, getTitle, notifyListeners, removeSinkListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamSink(java.io.OutputStream ios,
java.lang.String description)
ios - The stream to write todescription - A name to give the sink| Method Detail |
|---|
protected void writeString(java.lang.String s)
StringSink
writeString in class StringSinks - The String to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||