Class FallbackAppenderRef
- java.lang.Object
-
- ch.qos.logback.core.spi.AppenderAttachableImpl<ch.qos.logback.classic.spi.ILoggingEvent>
-
- ch.admin.bag.covidcertificate.log.async.FallbackAppenderRef
-
- All Implemented Interfaces:
ch.qos.logback.core.spi.AppenderAttachable<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.LifeCycle
public final class FallbackAppenderRef extends ch.qos.logback.core.spi.AppenderAttachableImpl<ch.qos.logback.classic.spi.ILoggingEvent> implements ch.qos.logback.core.spi.LifeCycleAn appender reference holder for configuring a fallback appender in the logback configuration:<fallback> <appender-ref name="my-appender"/> </fallback>
-
-
Constructor Summary
Constructors Constructor Description FallbackAppenderRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendToFallbackAppender(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent, String reason)booleanisStarted()voidnotifyFallbackDeactivated()voidstart()voidstop()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfacech.qos.logback.core.spi.LifeCycle
-
stop
public void stop()
- Specified by:
stopin interfacech.qos.logback.core.spi.LifeCycle
-
appendToFallbackAppender
public void appendToFallbackAppender(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent, String reason)
-
notifyFallbackDeactivated
public void notifyFallbackDeactivated()
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfacech.qos.logback.core.spi.LifeCycle
-
-