Uses of Class
org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
Package
Description
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
-
Uses of ColumnConfig.Builder in org.apache.logging.log4j.core.appender.db.jdbc
Modifier and TypeMethodDescriptionstatic ColumnConfig.Builder
ColumnConfig.newBuilder()
ColumnConfig.Builder.setClob
(boolean clob) If"true"
, indicates that the column is a character LOB (CLOB).ColumnConfig.Builder.setConfiguration
(Configuration configuration) The configuration object.ColumnConfig.Builder.setEventTimestamp
(boolean eventTimestamp) If"true"
, indicates that this column is a date-time column in which the event timestamp should be inserted.ColumnConfig.Builder.setLiteral
(String literal) The literal value to insert into the column as-is without any quoting or escaping.The name of the database column as it exists within the database table.ColumnConfig.Builder.setPattern
(String pattern) ThePatternLayout
pattern to insert in this column.ColumnConfig.Builder.setUnicode
(boolean unicode) If"true"
, indicates that the column is a Unicode String.