public abstract class AbstractLogWriter extends java.lang.Object implements LogWriter
Constructor and Description |
---|
AbstractLogWriter() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
write(byte[] bytes)
Write a set of bytes to the log.
|
void |
writeRecord(LogRecord entry)
Write a log entry.
|
public final void writeRecord(LogRecord entry) throws LogException
LogWriter
writeRecord
in interface LogWriter
entry
- The entry to write.LogException
- If there is a problem writing the log.protected abstract void write(byte[] bytes) throws LogException
bytes
- The bytes to write.LogException
- If there is a problem writing the bytes.