Redirects text written to a stream thru the standard
ant logging mechanism. This class is useful for integrating
with tools that write to System.out and System.err. For example,
the following will cause all text written to System.out to be
logged with "info" priority:
public void write(int c)
throws java.io.IOException
Deprecated.
Write a character to the output stream. This method looks
to make sure that there isn't an error being reported and
will flush each line of input out to the project's log stream.