Determines if no messages have been logged since the last time reset() was called.
Gets an immutable duplication of the list of messages this handler has handled since the last reset() call.
"Handles" a log message by appending it to this handler's internal list of messages, for later inspection.
Gets the number of messages that this handler has handled since the last reset() call.
Resets this handler's internal message cache to an empty list.
Handles a log message.
A log handler that simply appends all messages it receives to an internal array. This can be useful for testing, but should not be used for general runtime logging due to the need to synchronize access to the internal message cache.