public interface ILoggingEventCache
ILoggingEvent instances.List<ch.qos.logback.classic.spi.ILoggingEvent> get()
ILoggingEvents.
Note: Implementations of this method must return a non-null list, even if the list is empty, and the
returned list must not contain any null elements. If the caching implementation has discarded any of
the events that were passed to put(ILoggingEvent), they should be completely omitted from the event
list returned.null list containing 0 or more cached eventsvoid put(ch.qos.logback.classic.spi.ILoggingEvent event)
SoftReference or
other java.lang.ref type which could potentially result in the event being garbage collected before the
get() method is called.event - the event to cacheCopyright © 2014. All Rights Reserved.