Class MemoryAppender
- java.lang.Object
- 
- ch.qos.logback.core.spi.ContextAwareBase
- 
- ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
- 
- com.inductiveautomation.ignition.common.util.logging.MemoryAppender
 
 
 
- 
- All Implemented Interfaces:
- ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>,- ch.qos.logback.core.spi.ContextAware,- ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>,- ch.qos.logback.core.spi.LifeCycle
 
 public class MemoryAppender extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringNAME
 - 
Constructor SummaryConstructors Constructor Description MemoryAppender()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappend(ch.qos.logback.classic.spi.ILoggingEvent event)voidclear()voidclose()java.util.List<ch.qos.logback.classic.spi.ILoggingEvent>getEvents()Retrieves the entire list of eventsjava.util.List<ch.qos.logback.classic.spi.ILoggingEvent>getEvents(int limit, java.lang.String logNameMatch, ch.qos.logback.classic.Level minSeverity)Retrieves the most recent events with the given filtering arguments applied.intgetSize()booleanrequiresLayout()voidresize(int newSize)- 
Methods inherited from class ch.qos.logback.core.AppenderBaseaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toString
 - 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBaseaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
 
- 
 
- 
- 
- 
Field Detail- 
NAMEpublic static final java.lang.String NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
appendprotected void append(ch.qos.logback.classic.spi.ILoggingEvent event) - Specified by:
- appendin class- ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
 
 - 
getEventspublic java.util.List<ch.qos.logback.classic.spi.ILoggingEvent> getEvents() Retrieves the entire list of events
 - 
getEventspublic java.util.List<ch.qos.logback.classic.spi.ILoggingEvent> getEvents(int limit, java.lang.String logNameMatch, ch.qos.logback.classic.Level minSeverity)Retrieves the most recent events with the given filtering arguments applied.- Parameters:
- limit- Up to this many events will be returned.
- logNameMatch- if non-null/non-empty, the event's logger name must contain this text (case insensitive) in order to match.
- minSeverity- Only events with the given severity level or greater will be returned.
 
 - 
resizepublic void resize(int newSize) 
 - 
clearpublic void clear() 
 - 
getSizepublic int getSize() 
 - 
closepublic void close() 
 - 
requiresLayoutpublic boolean requiresLayout() 
 
- 
 
-