public class StreamLogWriter extends AbstractLogWriter
| Constructor and Description |
|---|
StreamLogWriter(java.io.OutputStream stream)
Create a stream log writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the log.
|
protected void |
write(byte[] bytes)
Write a set of bytes to the log.
|
writeRecordpublic StreamLogWriter(java.io.OutputStream stream)
stream - The stream to write to.protected void write(byte[] bytes)
throws LogException
AbstractLogWriterwrite in class AbstractLogWriterbytes - The bytes to write.LogException - If there is a problem writing the bytes.public void close()
LogWriter