Class LogRecordingHandler (1.45.0)

public class LogRecordingHandler extends Handler

Beta
Logging handler that stores log records.

Inheritance

java.lang.Object > Handler > LogRecordingHandler

Constructors

LogRecordingHandler()

public LogRecordingHandler()

Methods

close()

public void close()
Overrides
Exceptions
Type Description
SecurityException

flush()

public void flush()
Overrides

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
Overrides