org.apache.tools.ant.taskdefs
public class LogOutputStream extends LineOrientedOutputStream
Since: Ant 1.2
| Constructor Summary | |
|---|---|
| LogOutputStream(ProjectComponent pc)
Create a new LogOutputStream for the specified ProjectComponent.
| |
| 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: pc the project component for whom to log
Since: Ant 1.7.1
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.
processLineParameters: line the line to log.
Parameters: line the line to log. level the logging level to use.