org.codehaus.spice.loggerstore.stores
Class ConsoleLoggerStore
java.lang.Object
|
+--org.codehaus.spice.loggerstore.stores.AbstractLoggerStore
|
+--org.codehaus.spice.loggerstore.stores.ConsoleLoggerStore
- All Implemented Interfaces:
- LogEnabled, LoggerStore
- public class ConsoleLoggerStore
- extends AbstractLoggerStore
ConsoleLoggerStore extends AbstractLoggerStore to provide the implementation
specific that just writes to console.
- Author:
- Mauro Talevi
Constructor Summary |
ConsoleLoggerStore(int level)
Creates a ConsoleLoggerStore using the specified Logger
level. |
Method Summary |
void |
close()
Closes the LoggerStore and shuts down the logger hierarchy. |
protected Logger |
createLogger(String name)
Creates new ConsoleLogger for the given category. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleLoggerStore
public ConsoleLoggerStore(int level)
throws Exception
- Creates a
ConsoleLoggerStore
using the specified Logger
level.
- Parameters:
level
- the debug level of ConsoleLoggerStore
- Throws:
Exception
- if fails to create or configure Logger
createLogger
protected Logger createLogger(String name)
- Creates new ConsoleLogger 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.