public class LoggingEventAppenderListenerImpl extends Object implements AppenderListener<ILoggingEvent>
AppenderListener for ILoggingEvents that does nothing.| Constructor and Description |
|---|
LoggingEventAppenderListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
appenderStarted(Appender<ILoggingEvent> appender)
Called when the given appender is started.
|
void |
appenderStopped(Appender<ILoggingEvent> appender)
Called when the given appender is stopped.
|
void |
eventAppended(Appender<ILoggingEvent> appender,
ILoggingEvent event,
long durationInNanos)
Called when the given event was successfully appended by the given appender.
|
void |
eventAppendFailed(Appender<ILoggingEvent> appender,
ILoggingEvent event,
Throwable reason)
Called when the given event was failed to be appended by the given appender.
|
public void appenderStarted(Appender<ILoggingEvent> appender)
AppenderListenerappenderStarted in interface AppenderListener<ILoggingEvent>appender - the appender that was startedpublic void appenderStopped(Appender<ILoggingEvent> appender)
AppenderListenerappenderStopped in interface AppenderListener<ILoggingEvent>appender - the appender that was stoppedpublic void eventAppended(Appender<ILoggingEvent> appender, ILoggingEvent event, long durationInNanos)
AppenderListenereventAppended in interface AppenderListener<ILoggingEvent>appender - the appender when successfully appended the eventevent - the event that was appendeddurationInNanos - the time (in nanoseconds) it took to append the eventpublic void eventAppendFailed(Appender<ILoggingEvent> appender, ILoggingEvent event, Throwable reason)
AppenderListenereventAppendFailed in interface AppenderListener<ILoggingEvent>appender - the appender when successfully appended the eventevent - the event that was appendedreason - what caused the failureCopyright © 2019. All rights reserved.