Class AppenderAdapter.Adapter

All Implemented Interfaces:
Appender, Filterable, LocationAware, LifeCycle, LifeCycle2
Enclosing class:
AppenderAdapter

public class AppenderAdapter.Adapter extends AbstractAppender
  • Constructor Details

  • Method Details

    • append

      public void append(LogEvent event)
      Description copied from interface: Appender
      Logs a LogEvent using whatever logic this Appender wishes to use. It is typically recommended to use a bridge pattern not only for the benefits from decoupling an Appender from its implementation, but it is also handy for sharing resources which may require some form of locking.
      Parameters:
      event - The LogEvent.
    • stop

      public void stop()
      Specified by:
      stop in interface LifeCycle
      Overrides:
      stop in class AbstractLifeCycle
    • getAppender

      public Appender getAppender()