| Constructor | Description |
|---|---|
JdbcWriter(java.util.Map<java.lang.String,java.lang.String> properties) |
| 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.
|
public JdbcWriter(java.util.Map<java.lang.String,java.lang.String> properties)
throws javax.naming.NamingException,
java.sql.SQLException
properties - Configuration for writerjavax.naming.NamingException - Data source cannot be foundjava.sql.SQLException - Database connection cannot be establishedpublic java.util.Collection<LogEntryValue> getRequiredLogEntryValues()
WritergetRequiredLogEntryValues in interface WriterLogEntry objectspublic void write(LogEntry logEntry) throws java.sql.SQLException
Writerpublic void flush()
throws java.sql.SQLException
WriterCopyright © 2019. All rights reserved.