Log4j 0.9.1

org.log4j.spi
Interface AppenderAttachable

All Known Implementing Classes:
AsyncAppender, Category, AppenderAttachableImpl

public interface AppenderAttachable

Interface for attaching appenders to objects.

Since:
0.9.1
Author:
Ceki Gülcü

Method Summary
 void addAppender(Appender newAppender)
          Add an appender.
 Enumeration getAllAppenders()
          Get all previously appenders as an Enumeration.
 Appender getAppender(String name)
          Get an appender by name.
 void removeAllAppenders()
          Remove all previously added appenders.
 void removeAppender(Appender appender)
          Remove the appender passed as parameter form the list of appenders.
 void removeAppender(String name)
          Remove the appender with the name passed as parameter form the list of appenders.
 

Method Detail

addAppender

public void addAppender(Appender newAppender)
Add an appender.

getAllAppenders

public Enumeration getAllAppenders()
Get all previously appenders as an Enumeration.

getAppender

public Appender getAppender(String name)
Get an appender by name.

removeAllAppenders

public void removeAllAppenders()
Remove all previously added appenders.

removeAppender

public void removeAppender(Appender appender)
Remove the appender passed as parameter form the list of appenders.

removeAppender

public void removeAppender(String name)
Remove the appender with the name passed as parameter form the list of appenders.

Log4j 0.9.1

Please notify me about new log4j releases.