Interface AppenderAttachable<E>

All Known Implementing Classes:
AppenderAttachableImpl, AsyncAppender, AsyncAppenderBase, Logger

@Deprecated(since="2022-01-27") public interface AppenderAttachable<E>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Interface for attaching appenders to objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAppender(Appender<E> newAppender)
    Deprecated.
    Add an appender.
    void
    Deprecated.
    Detach and processPriorToRemoval all previously added appenders.
    boolean
    Deprecated.
    Detach the appender passed as parameter from the list of appenders.
    boolean
    Deprecated.
    Detach the appender with the name passed as parameter from the list of appenders.
    Deprecated.
    Get an appender by name.
    boolean
    isAttached(Appender<E> appender)
    Deprecated.
    Returns true if the specified appender is in list of attached attached, false otherwise.
    Deprecated.
    Get an iterator for appenders contained in the parent object.
  • Method Details

    • addAppender

      void addAppender(Appender<E> newAppender)
      Deprecated.
      Add an appender.
    • iteratorForAppenders

      Iterator<Appender<E>> iteratorForAppenders()
      Deprecated.
      Get an iterator for appenders contained in the parent object.
    • getAppender

      Appender<E> getAppender(String name)
      Deprecated.
      Get an appender by name.
    • isAttached

      boolean isAttached(Appender<E> appender)
      Deprecated.
      Returns true if the specified appender is in list of attached attached, false otherwise.
    • detachAndStopAllAppenders

      void detachAndStopAllAppenders()
      Deprecated.
      Detach and processPriorToRemoval all previously added appenders.
    • detachAppender

      boolean detachAppender(Appender<E> appender)
      Deprecated.
      Detach the appender passed as parameter from the list of appenders.
    • detachAppender

      boolean detachAppender(String name)
      Deprecated.
      Detach the appender with the name passed as parameter from the list of appenders.