Module logstash.logback.encoder
Class LoggingEventAppenderListenerImpl
java.lang.Object
net.logstash.logback.appender.listener.LoggingEventAppenderListenerImpl
- All Implemented Interfaces:
AppenderListener<ILoggingEvent>
- Direct Known Subclasses:
LoggingEventTcpAppenderListenerImpl
@Deprecated
public class LoggingEventAppenderListenerImpl
extends Object
implements AppenderListener<ILoggingEvent>
Deprecated.
Replaced by default methods in interface.
Implementation of
AppenderListener for ILoggingEvents that does nothing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappenderStarted(Appender<ILoggingEvent> appender) Deprecated.Called when the given appender is started.voidappenderStopped(Appender<ILoggingEvent> appender) Deprecated.Called when the given appender is stopped.voideventAppended(Appender<ILoggingEvent> appender, ILoggingEvent event, long durationInNanos) Deprecated.Called when the given event was successfully appended by the given appender.voideventAppendFailed(Appender<ILoggingEvent> appender, ILoggingEvent event, Throwable reason) Deprecated.Called when the given event was failed to be appended by the given appender.
-
Constructor Details
-
LoggingEventAppenderListenerImpl
public LoggingEventAppenderListenerImpl()Deprecated.
-
-
Method Details
-
appenderStarted
Deprecated.Description copied from interface:AppenderListenerCalled when the given appender is started.- Specified by:
appenderStartedin interfaceAppenderListener<ILoggingEvent>- Parameters:
appender- the appender that was started
-
appenderStopped
Deprecated.Description copied from interface:AppenderListenerCalled when the given appender is stopped.- Specified by:
appenderStoppedin interfaceAppenderListener<ILoggingEvent>- Parameters:
appender- the appender that was stopped
-
eventAppended
public void eventAppended(Appender<ILoggingEvent> appender, ILoggingEvent event, long durationInNanos) Deprecated.Description copied from interface:AppenderListenerCalled when the given event was successfully appended by the given appender. Note that for Asynchronous appenders, this generally means that the event was accepted for processing, but hasn't finished processing yet.- Specified by:
eventAppendedin interfaceAppenderListener<ILoggingEvent>- Parameters:
appender- the appender when successfully appended the eventevent- the event that was appendeddurationInNanos- the time (in nanoseconds) it took to append the event
-
eventAppendFailed
public void eventAppendFailed(Appender<ILoggingEvent> appender, ILoggingEvent event, Throwable reason) Deprecated.Description copied from interface:AppenderListenerCalled when the given event was failed to be appended by the given appender.- Specified by:
eventAppendFailedin interfaceAppenderListener<ILoggingEvent>- Parameters:
appender- the appender when successfully appended the eventevent- the event that was appendedreason- what caused the failure
-