Class AppenderBase<E>

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<E>
All Implemented Interfaces:
Appender<E>, ContextAware, FilterAttachable<E>, LifeCycle
Direct Known Subclasses:
AbstractServerSocketAppender, AbstractSocketAppender, CyclicBufferAppender, ListAppender, NOPAppender, SiftingAppenderBase, SMTPAppenderBase, SyslogAppenderBase

@Deprecated(since="2022-01-27") public abstract class AppenderBase<E> extends ContextAwareBase implements Appender<E>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Sets a skeleton implementation for appenders.

For more information about this appender, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#AppenderBase

  • Constructor Details

    • AppenderBase

      public AppenderBase()
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Description copied from interface: Appender
      Get the name of this appender. The name uniquely identifies the appender.
      Specified by:
      getName in interface Appender<E>
    • doAppend

      public void doAppend(E eventObject)
      Deprecated.
      Description copied from interface: Appender
      This is where an appender accomplishes its work. Note that the argument is of type Object.
      Specified by:
      doAppend in interface Appender<E>
      Parameters:
      eventObject -
    • setName

      public void setName(String name)
      Deprecated.
      Set the name of this appender.
      Specified by:
      setName in interface Appender<E>
    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface LifeCycle
    • stop

      public void stop()
      Deprecated.
      Specified by:
      stop in interface LifeCycle
    • isStarted

      public boolean isStarted()
      Deprecated.
      Specified by:
      isStarted in interface LifeCycle
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • addFilter

      public void addFilter(Filter<E> newFilter)
      Deprecated.
      Description copied from interface: FilterAttachable
      Add a filter.
      Specified by:
      addFilter in interface FilterAttachable<E>
    • clearAllFilters

      public void clearAllFilters()
      Deprecated.
      Specified by:
      clearAllFilters in interface FilterAttachable<E>
    • getCopyOfAttachedFiltersList

      public List<Filter<E>> getCopyOfAttachedFiltersList()
      Deprecated.
      Description copied from interface: FilterAttachable
      Get a copy of all the filters contained within this FilterAttachable object.
      Specified by:
      getCopyOfAttachedFiltersList in interface FilterAttachable<E>
      Returns:
      all attached filters as a list
    • getFilterChainDecision

      public FilterReply getFilterChainDecision(E event)
      Deprecated.
      Description copied from interface: FilterAttachable
      Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.
      Specified by:
      getFilterChainDecision in interface FilterAttachable<E>