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 Detail

      • addAppender

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

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

        Appender<E> getAppender​(java.lang.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​(java.lang.String name)
        Deprecated.
        Detach the appender with the name passed as parameter from the list of appenders.