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