Interface Appender<E>

All Superinterfaces:
ContextAware, FilterAttachable<E>, LifeCycle
All Known Implementing Classes:
AbstractServerSocketAppender, AbstractSocketAppender, AbstractSSLSocketAppender, AppenderBase, AsyncAppender, AsyncAppenderBase, ConsoleAppender, CyclicBufferAppender, DelayingListAppender, FileAppender, ListAppender, NOPAppender, NPEAppender, OutputStreamAppender, RollingFileAppender, ServerSocketAppender, SiftingAppender, SiftingAppenderBase, SMTPAppender, SMTPAppenderBase, SocketAppender, SSLServerSocketAppender, SSLServerSocketAppenderBase, SSLSocketAppender, StringListAppender, SyslogAppender, SyslogAppenderBase, UnsynchronizedAppenderBase, WithLayoutListAppender

public interface Appender<E> extends LifeCycle, ContextAware, FilterAttachable<E>
  • Method Details

    • getName

      Get the name of this appender. The name uniquely identifies the appender.
    • doAppend

      void doAppend(E event) throws LogbackException
      This is where an appender accomplishes its work. Note that the argument is of type Object.
      Parameters:
      event -
      Throws:
      LogbackException
    • setName

      void setName(String name)
      Set the name of this appender. The name is used by other components to identify this appender.