org.apache.tools.ant.taskdefs
public class LogOutputStream extends LineOrientedOutputStream
Since: Ant 1.2
Constructor Summary | |
---|---|
LogOutputStream(Task task, int level)
Creates a new instance of this class.
| |
LogOutputStream(ProjectComponent pc, int level)
Creates a new instance of this class.
|
Method Summary | |
---|---|
int | getMessageLevel()
Get the level. |
protected void | processBuffer()
Converts the buffer to a string and sends it to processLine |
protected void | processLine(String line)
Logs a line to the log system of ant.
|
protected void | processLine(String line, int level)
Logs a line to the log system of ant.
|
Parameters: task the task for whom to log level loglevel used to log data written to this stream.
Parameters: pc the project component for whom to log level loglevel used to log data written to this stream.
Since: Ant 1.6.3
Returns: the log level.
processLine
Parameters: line the line to log.
Parameters: line the line to log. level the logging level to use.