LogOutputStreampublic class LogOutputStream extends org.apache.tools.ant.util.LineOrientedOutputStream Logs each line written to this stream to the log system of ant.
Tries to be smart about line separators.
|
Fields Summary |
---|
private org.apache.tools.ant.ProjectComponent | pc | private int | level |
Methods Summary |
---|
public int | getMessageLevel()Get the level.
return level;
| protected void | processBuffer()Converts the buffer to a string and sends it to processLine
try {
super.processBuffer();
} catch (IOException e) {
// impossible since *our* processLine doesn't throw an IOException
throw new RuntimeException("Impossible IOException caught: " + e);
}
| protected void | processLine(java.lang.String line)Logs a line to the log system of ant.
processLine(line, level);
| protected void | processLine(java.lang.String line, int level)Logs a line to the log system of ant.
pc.log(line, level);
|
|