org.apache.avalon.excalibur.logger
Class Facade
java.lang.Object
org.apache.avalon.excalibur.logger.Facade
public class Facade
- extends Object
A facade to the modularized *LoggerManager building system.
Add methods here to create LoggerManagers to your preference.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.3 $ $Date: 2004/03/10 13:54:50 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Facade
public Facade()
createLogKitConfigurable
public static LoggerManager createLogKitConfigurable(String prefix,
String switchTo)
- Assemble a new LoggerManager running on top of LogKit
configured from a configuration file logging to a supplied
logger as a fallback.
Use this method as a sample showing how to assemble your
own LoggerManager running on top of LogKit flavour.
createLog4JConfigurable
public static LoggerManager createLog4JConfigurable(String prefix,
String switchTo)
- Assemble LoggerManager for Log4J system configured
via a configuration file. All the logging errors
will go to System.err however.
Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.