protected static class JUnitTask.JUnitLogOutputStream extends LogOutputStream
Constructor and Description |
---|
JUnitLogOutputStream(Task task,
int level)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
processLine(java.lang.String line,
int level)
Logs a line.
|
getMessageLevel, processBuffer, processLine
close, flush, processLine, write, write
public 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 LogOutputStream
line
- the line to log.level
- the logging level to use.