public interface Writer
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the writer.
|
void |
flush()
Outputs buffered log entries immediately.
|
Collection<LogEntryValue> |
getRequiredLogEntryValues()
Returns all log entry values that are required for outputting a log entry.
|
void |
write(LogEntry logEntry)
Outputs a given log entry.
|
Collection<LogEntryValue> getRequiredLogEntryValues()
LogEntry objectsvoid write(LogEntry logEntry) throws Exception
logEntry - Log entry to outputException - Any exception can be thrown if writing has been failedvoid flush()
throws Exception
Exception - Any exception can be thrown if flushing has been failedCopyright © 2020. All rights reserved.