Class InMemoryAppender<T>

  • All Implemented Interfaces:
    ch.qos.logback.core.Appender<T>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.FilterAttachable<T>, ch.qos.logback.core.spi.LifeCycle

    public final class InMemoryAppender<T>
    extends ch.qos.logback.core.AppenderBase<T>
    NOTE: Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time.
    Author:
    Hakan Altindag
    • Field Summary

      • Fields inherited from class ch.qos.logback.core.AppenderBase

        name, started
      • Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

        context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void append​(T t)  
      • Methods inherited from class ch.qos.logback.core.AppenderBase

        addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toString
      • Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
      • Methods inherited from interface ch.qos.logback.core.spi.ContextAware

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
    • Constructor Detail

      • InMemoryAppender

        public InMemoryAppender​(String appenderName,
                                List<T> eventsCollector)
    • Method Detail

      • append

        protected void append​(T t)
        Specified by:
        append in class ch.qos.logback.core.AppenderBase<T>