org.apache.avalon.excalibur.logger.factory
Class LF5TargetFactory

java.lang.Object
  extended by org.apache.avalon.excalibur.logger.factory.LF5TargetFactory
All Implemented Interfaces:
LogTargetFactory

public class LF5TargetFactory
extends java.lang.Object
implements LogTargetFactory

A factory for the LogFactor5 Swing GUI.

Configuration :

 <lf5 id="target-id">
   <NDC-format type="raw|pattern|extended">pattern to be used</NDC-format>
 </lf5>
 
The optional "NDC-pattern" configuration defines the pattern that will be used to format the log event for display on the "NDC" line in the Swing GUI.

Version:
CVS $Revision: 1.8 $ $Date: 2004/03/10 13:54:50 $
Author:
Avalon Development Team

Constructor Summary
LF5TargetFactory()
           
 
Method Summary
 org.apache.log.LogTarget createTarget(org.apache.avalon.framework.configuration.Configuration configuration)
          Create a LogTarget based on a Configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LF5TargetFactory

public LF5TargetFactory()
Method Detail

createTarget

public org.apache.log.LogTarget createTarget(org.apache.avalon.framework.configuration.Configuration configuration)
                                      throws org.apache.avalon.framework.configuration.ConfigurationException
Description copied from interface: LogTargetFactory
Create a LogTarget based on a Configuration

Specified by:
createTarget in interface LogTargetFactory
Throws:
org.apache.avalon.framework.configuration.ConfigurationException


Copyright © 1997-2008 Apache Software Foundation. All Rights Reserved.