|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.acelogger.factory.AppenderFactory
public final class AppenderFactory
Factory for managing instances of configured appenders.
Method Summary | |
---|---|
static Appender |
getAppender(String identifier)
Obtains a properly configured appender for the given identifier. |
static Appender |
getDefaultAppender()
Returns the default appender of this factory, the one used when no appender is found for a given identifier. |
static List<Appender> |
getRegisteredAppenders()
Returns a list of all appenders registered in this factory. |
static Appender |
registerAppender(Appender appender)
Registers an appender within this factory. |
static Appender |
setDefaultAppender(Appender defaultAppender)
Sets the default appender of this factory, the one used when no appender is found for a given identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Appender getAppender(String identifier)
identifier
- The identifier of the intended appender.
getDefaultAppender()
public static Appender setDefaultAppender(Appender defaultAppender)
defaultAppender
- The appender that will be used as the default one from now.
public static Appender getDefaultAppender()
public static List<Appender> getRegisteredAppenders()
public static Appender registerAppender(Appender appender)
appender
- The appender to be registered.
getDefaultAppender()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |