|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.plt.debug.TextLogSink
edu.rice.cs.plt.debug.IndentedTextLogSink
edu.rice.cs.plt.debug.WriterLogSink
public class WriterLogSink
A log that writes tagged, indented text to the given Writer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.rice.cs.plt.debug.LogSink |
|---|
LogSink.EndMessage, LogSink.ErrorMessage, LogSink.Message, LogSink.MessageVisitor<T>, LogSink.StackMessage, LogSink.StandardMessage, LogSink.StartMessage, LogSink.ValueMessage |
| Constructor Summary | |
|---|---|
WriterLogSink(Writer w)
|
|
WriterLogSink(Writer w,
int idealLineWidth)
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected BufferedWriter |
writer(LogSink.Message m)
Get a BufferedWriter for outputting the given message. |
| Methods inherited from class edu.rice.cs.plt.debug.IndentedTextLogSink |
|---|
write, writeEnd, writeStart |
| Methods inherited from class edu.rice.cs.plt.debug.TextLogSink |
|---|
formatLocation, formatLocation, formatThread, formatTime, log, logEnd, logError, logStack, logStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriterLogSink(Writer w)
public WriterLogSink(Writer w,
int idealLineWidth)
| Method Detail |
|---|
protected BufferedWriter writer(LogSink.Message m)
IndentedTextLogSink
writer in class IndentedTextLogSink
public void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||