| Constructor and Description |
|---|
RingBufferLogHandler() |
RingBufferLogHandler(int ringSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
void |
flush() |
List<LogRecord> |
getView()
Returns the list view of
LogRecords in the ring buffer. |
void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic RingBufferLogHandler()
public RingBufferLogHandler(int ringSize)
public void clear()
public List<LogRecord> getView()
LogRecords in the ring buffer.
New records are always placed early in the list.
public void close()
throws SecurityException
close in class HandlerSecurityExceptionCopyright © 2019. All rights reserved.