|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.codehaus.spice.loggerstore.stores.AbstractLoggerStore | +--org.codehaus.spice.loggerstore.stores.Log4JLoggerStore
Log4JLoggerStore extends AbstractLoggerStore to provide the implementation specific to the Log4J logger.
Constructor Summary | |
Log4JLoggerStore(org.w3c.dom.Element resource)
Creates a Log4JLoggerStore using the configuration resource |
|
Log4JLoggerStore(InputStream resource)
Creates a Log4JLoggerStore using the configuration resource |
|
Log4JLoggerStore(Properties resource)
Creates a Log4JLoggerStore using the configuration resource |
Method Summary | |
void |
close()
Closes the LoggerStore and shuts down the logger hierarchy. |
protected Logger |
createLogger(String categoryName)
Creates new Log4JLogger for the given category. |
Methods inherited from class org.codehaus.spice.loggerstore.stores.AbstractLoggerStore |
enableLogging, getLogger, getLogger, getRootLogger, setRootLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log4JLoggerStore(org.w3c.dom.Element resource) throws Exception
Log4JLoggerStore
using the configuration resource
resource
- the Element encoding the configuration resource
Exception
- if fails to create or configure Loggerpublic Log4JLoggerStore(InputStream resource) throws Exception
Log4JLoggerStore
using the configuration resource
resource
- the InputStream encoding the configuration resource
Exception
- if fails to create or configure Loggerpublic Log4JLoggerStore(Properties resource) throws Exception
Log4JLoggerStore
using the configuration resource
resource
- the Properties encoding the configuration resource
Exception
- if fails to create or configure LoggerMethod Detail |
protected Logger createLogger(String categoryName)
createLogger
in class AbstractLoggerStore
public void close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |