KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > excalibur > logger > LoggerManager


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.logger.Logger;
11
12 /**
13  * LoggerManager Interface. This is the interface used to get instances of
14  * a Logger for your system.
15  *
16  * @author <a HREF="mailto:bloritsch@apache.org">Berin Loritsch</a>
17  * @version CVS $Revision: 1.1 $ $Date: 2002/01/17 20:44:59 $
18  */

19 public interface LoggerManager
20 {
21     /**
22      * Return the Logger for the specified category.
23      */

24     Logger getLoggerForCategory( String JavaDoc categoryName );
25
26     /**
27      * Return the default Logger. This is basically the same
28      * as getting the Logger for the "" category.
29      */

30     Logger getDefaultLogger();
31 }
32
Popular Tags