AbstractFormatPatternWriter, ConsoleWriter, FileWriter, JdbcWriter, LogcatWriter, RollingFileWriter, SharedFileWriterpublic interface Writer
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Closes the writer.
|
void |
flush() |
Outputs buffered log entries immediately.
|
java.util.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.
|
java.util.Collection<LogEntryValue> getRequiredLogEntryValues()
LogEntry objectsvoid write(LogEntry logEntry) throws java.lang.Exception
logEntry - Log entry to outputjava.lang.Exception - Any exception can be thrown if writing has been failedvoid flush()
throws java.lang.Exception
java.lang.Exception - Any exception can be thrown if flushing has been failedvoid close()
throws java.lang.Exception
java.lang.Exception - Any exception can be thrown if closing has been failedCopyright © 2019. All rights reserved.