| java.lang.Object java.io.Writer com.quadcap.io.LogWriter
LogWriter | public class LogWriter extends Writer (Code) | | A filter writer that tees off output into a log file, with a prefix
identifying the stream.
author: Stan Bailes |
Method Summary | |
public void | close() | public void | flush() | public synchronized void | write(int c) | public void | write(char[] cbuf, int off, int len) |
LogWriter | public LogWriter(Writer out, Writer log, String prefix)(Code) | | Construct a new log reader
Parameters: is - the underlying reader Parameters: log - the log stream Parameters: prefix - a string identifying this log stream to be prefixedto every line output by this filter. |
close | public void close() throws IOException(Code) | | Close the underlying stream (but not the log stream!)
exception: IOException - may be thrown |
write | public void write(char[] cbuf, int off, int len) throws IOException(Code) | | Read (and log) an array of bytes
|
|
|