Class LogRecordingHandler (1.43.1)

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
TypeDescription
SecurityException

flush()

public void flush()
Overrides

messages()

public List<String> messages()

Returns a new instance of a list of published record messages.

Returns
TypeDescription
List<String>

publish(LogRecord record)

public void publish(LogRecord record)
Parameter
NameDescription
recordLogRecord
Overrides