|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LoggerStore represents the logging hierarchy for a Logger, as defined by its configuration.
The LoggerStore has an associated LoggerStoreFactory which also acts as a configurator for the Logger.
Whenever an application has finished using the LoggerStore it will call the close() method indicating that the logger hierarchy should also be shutdown.
Method Summary | |
void |
close()
Closes the LoggerStore and shuts down the logger hierarchy. |
Logger |
getLogger()
Retrieves the root Logger from the store. |
Logger |
getLogger(String categoryName)
Retrieves a Logger hierarchy from the store for a given category name. |
Method Detail |
public Logger getLogger() throws Exception
Exception
- if unable to retrieve Loggerpublic Logger getLogger(String categoryName) throws Exception
categoryName
- the name of the logger category.
Exception
- if unable to retrieve Loggerpublic void close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |