1 /* 2 * Copyright (C) The Apache Software Foundation. All rights reserved. 3 * 4 * This software is published under the terms of the Apache Software License 5 * version 1.1, a copy of which has been included with this distribution in 6 * the LICENSE.txt file. 7 */ 8 package org.apache.avalon.excalibur.logger; 9 10 import org.apache.avalon.framework.configuration.Configuration; 11 import org.apache.avalon.framework.configuration.ConfigurationException; 12 13 import org.apache.log.LogTarget; 14 15 /** 16 * LogTargetFactory Interface. 17 * 18 * @author <a HREF="mailto:giacomo@apache,org">Giacomo Pati</a> 19 * @version CVS $Revision: 1.2 $ $Date: 2001/12/11 09:53:29 $ 20 * @since 4.0 21 */ 22 public interface LogTargetFactory 23 { 24 /** 25 * Create a LogTarget based on a Configuration 26 */ 27 LogTarget createTarget( Configuration configuration ) throws ConfigurationException; 28 } 29