Class BufferAppender<E>

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

    public class BufferAppender<E>
    extends ch.qos.logback.core.OutputStreamAppender<E>
    • Field Summary

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

        encoder, lock
      • Fields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase

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

        context
    • Constructor Summary

      Constructors 
      Constructor Description
      BufferAppender()  
    • Method Summary

      Modifier and Type Method Description
      protected void append​(E eventObject)  
      void start()  
      void stop()  
      java.lang.String toString()  
      • Methods inherited from class ch.qos.logback.core.OutputStreamAppender

        closeOutputStream, getEncoder, getOutputStream, isImmediateFlush, setEncoder, setImmediateFlush, setLayout, setOutputStream, subAppend, writeOut
      • Methods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase

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

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface ch.qos.logback.core.spi.ContextAware

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

      • BufferAppender

        public BufferAppender()
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface ch.qos.logback.core.spi.LifeCycle
        Overrides:
        start in class ch.qos.logback.core.OutputStreamAppender<E>
      • stop

        public void stop()
        Specified by:
        stop in interface ch.qos.logback.core.spi.LifeCycle
        Overrides:
        stop in class ch.qos.logback.core.OutputStreamAppender<E>
      • append

        protected void append​(E eventObject)
        Overrides:
        append in class ch.qos.logback.core.OutputStreamAppender<E>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class ch.qos.logback.core.UnsynchronizedAppenderBase<E>