org.apache.avalon.excalibur.logger
Class Facade

java.lang.Object
  extended byorg.apache.avalon.excalibur.logger.Facade

public class Facade
extends java.lang.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

Constructor Summary
Facade()
           
 
Method Summary
static LoggerManager createLog4JConfigurable(java.lang.String prefix, java.lang.String switchTo)
          Assemble LoggerManager for Log4J system configured via a configuration file.
static LoggerManager createLogKitConfigurable(java.lang.String prefix, java.lang.String switchTo)
          Assemble a new LoggerManager running on top of LogKit configured from a configuration file logging to a supplied logger as a fallback.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Facade

public Facade()
Method Detail

createLogKitConfigurable

public static LoggerManager createLogKitConfigurable(java.lang.String prefix,
                                                     java.lang.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(java.lang.String prefix,
                                                    java.lang.String switchTo)
Assemble LoggerManager for Log4J system configured via a configuration file. All the logging errors will go to System.err however.



Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.