Interface Appender<E>

All Superinterfaces:
ContextAware, FilterAttachable<E>, LifeCycle
All Known Implementing Classes:
AbstractServerSocketAppender, AbstractSocketAppender, AbstractSSLSocketAppender, AppenderBase, AsyncAppender, AsyncAppenderBase, ConsoleAppender, CountingConsoleAppender, CyclicBufferAppender, FileAppender, ListAppender, NOPAppender, OutputStreamAppender, RollingFileAppender, ServerSocketAppender, ServerSocketAppender, SMTPAppender, SMTPAppender, SMTPAppenderBase, SocketAppender, SocketAppender, SSLServerSocketAppender, SSLServerSocketAppender, SSLServerSocketAppenderBase, SSLSocketAppender, SSLSocketAppender, SyslogAppender, SyslogAppenderBase, TrivialLogbackAppender, 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.
      event -
    • setName

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