public class LogRecordingHandler extends Handler
Beta
Logging handler that stores log records.
Constructors
LogRecordingHandler()
public LogRecordingHandler()
Methods
close()
public void close()
Exceptions | |
---|---|
Type | Description |
SecurityException |
flush()
public void flush()
messages()
public List<String> messages()
Returns a new instance of a list of published record messages.
Returns | |
---|---|
Type | Description |
List<String> |
publish(LogRecord record)
public void publish(LogRecord record)
Parameter | |
---|---|
Name | Description |
record |
LogRecord |