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.log.Logger; 11 import org.apache.log.Hierarchy; 12 13 /** 14 * LogKitManager Interface. 15 * 16 * @deprecated we should use the new LoggerManager interface that directly 17 * supports the new framework Logger interface. 18 * 19 * @author <a HREF="mailto:giacomo@apache.org">Giacomo Pati</a> 20 * @version CVS $Revision: 1.4 $ $Date: 2002/01/17 20:44:59 $ 21 */ 22 public interface LogKitManager 23 { 24 /** 25 * Find a logger based on a category name. 26 */ 27 Logger getLogger( String categoryName ); 28 29 /** 30 * Retrieve Hierarchy for Loggers configured by the system. 31 * 32 * @return the Hierarchy 33 */ 34 Hierarchy getHierarchy(); 35 } 36