java.io.Closeable, java.io.Flushable, java.lang.AutoCloseableprotected static class JUnitTask.JUnitLogOutputStream extends LogOutputStream
| Constructor | Description |
|---|---|
JUnitLogOutputStream(Task task,
int level) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
processLine(java.lang.String line,
int level) |
Logs a line.
|
close, flush, processLine, write, writegetMessageLevel, processBuffer, processLinepublic JUnitLogOutputStream(Task task, int level)
task - the task being logged.level - the log level used to log data written to this stream.protected void processLine(java.lang.String line,
int level)
processLine in class LogOutputStreamline - the line to log.level - the logging level to use.