|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
net.spy.log.LineGettingOutputStream
net.spy.log.LoggingOutputStream
public class LoggingOutputStream
An OutputStream that logs to a Logger.
| Constructor Summary | |
|---|---|
LoggingOutputStream(java.lang.String name)
Get an instance of LoggingOutputStream. |
|
LoggingOutputStream(java.lang.String name,
Level lv)
Get an instance of LoggingOutputStream. |
|
| Method Summary | |
|---|---|
protected void |
processChunk(java.lang.String chunk)
Send the stuff to the logger. |
static void |
redefineOutputs()
Redefine stdout and stderr using new logging streams. |
| Methods inherited from class net.spy.log.LineGettingOutputStream |
|---|
setErr, setOut, write, write |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingOutputStream(java.lang.String name)
public LoggingOutputStream(java.lang.String name,
Level lv)
| Method Detail |
|---|
protected void processChunk(java.lang.String chunk)
processChunk in class LineGettingOutputStreamchunk - public static void redefineOutputs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||