org.codehaus.spice.loggerstore.stores
Class Jdk14LoggerStore
java.lang.Object
|
+--org.codehaus.spice.loggerstore.stores.AbstractLoggerStore
|
+--org.codehaus.spice.loggerstore.stores.Jdk14LoggerStore
- All Implemented Interfaces:
- LogEnabled, LoggerStore
- public class Jdk14LoggerStore
- extends AbstractLoggerStore
Jdk14LoggerStore extends AbstractLoggerStore to provide the implementation
specific to the JDK14 logger.
- Author:
- Mauro Talevi
Method Summary |
void |
close()
Closes the LoggerStore and shuts down the logger hierarchy. |
protected Logger |
createLogger(String name)
Creates new Jdk14Logger for the given category. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jdk14LoggerStore
public Jdk14LoggerStore(InputStream resource)
throws Exception
- Creates a
Log4JLoggerStore
using the configuration
resource.
- Parameters:
resource
- the InputStream encoding the configuration resource
- Throws:
Exception
- if fails to create or configure Logger
createLogger
protected Logger createLogger(String name)
- Creates new Jdk14Logger for the given category.
- Specified by:
createLogger
in class AbstractLoggerStore
close
public void close()
- Closes the LoggerStore and shuts down the logger hierarchy.
Copyright © 2003 Codehaus. All Rights Reserved.