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.
|
writeRecord
public StreamLogWriter(java.io.OutputStream stream)
stream
- The stream to write to.protected void write(byte[] bytes) throws LogException
AbstractLogWriter
write
in class AbstractLogWriter
bytes
- The bytes to write.LogException
- If there is a problem writing the bytes.public void close()
LogWriter