Interface AppenderAttachable<E>
- All Known Implementing Classes:
AccessContext, AppenderAttachableImpl, AsyncAppender, AsyncAppenderBase, LogbackValve, Logger, RequestLogImpl
public interface AppenderAttachable<E>
Interface for attaching appenders to objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAppender(Appender<E> newAppender) Add an appender.voidDetach and processPriorToRemoval all previously added appenders.booleandetachAppender(Appender<E> appender) Detach the appender passed as parameter from the list of appenders.booleandetachAppender(String name) Detach the appender with the name passed as parameter from the list of appenders.getAppender(String name) Get an appender by name.booleanisAttached(Appender<E> appender) Returnstrueif the specified appender is in list of attached attached,falseotherwise.Get an iterator for appenders contained in the parent object.
-
Method Details
-
addAppender
-
iteratorForAppenders
-
getAppender
-
isAttached
-
detachAndStopAllAppenders
void detachAndStopAllAppenders()Detach and processPriorToRemoval all previously added appenders. -
detachAppender
-
detachAppender
Detach the appender with the name passed as parameter from the list of appenders.
-