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
LogRecord s in the ring buffer. |
void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public RingBufferLogHandler()
public RingBufferLogHandler(int ringSize)
public void clear()
public List<LogRecord> getView()
LogRecord
s in the ring buffer.
New records are always placed early in the list.
public void close() throws SecurityException
close
in class Handler
SecurityException
Copyright © 2018. All rights reserved.