public class DBHandler extends Handler
By default DBFormatter is used for formatting the logRecords.
Constructor and Description |
---|
DBHandler(String tableName)
Constructor takes the tableName as a parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Flush any buffered messages and close the current output stream.
|
void |
flush() |
protected void |
nonBlockingFlush()
Flush any buffered messages.
|
void |
publish(LogRecord logRecord)
Publishes the provided LogRecord.
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public DBHandler(String tableName)
tableName
- Database table name for logger.public void publish(LogRecord logRecord)
protected void nonBlockingFlush()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.