AscbLoggerRepository
| Kind of class: | class |
|---|---|
| Inherits from: | BasicClass |
| Implements: | |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.env.log.repository.AscbLoggerRepository |
| File last modified: | Sunday, 10 April 2005, 10:34:10 |
AscbLoggerRepository returns loggers of type org.as2lib.env.log.logger.AscbLogger.Configuring your global registry, like LogManager with this repository,
enables you to work externally with the As2lib Logging API, which allows you to
change between different other Logging APIs, but internally with the ASCB Logging
API. You also configure the ASCB Logging API as if you would use it directly.
Already received loggers are cached by name. Thus there exists only one logger
instance per logger name.
See also:
Summary
Constructor
Constructor
AscbLoggerRepository
function AscbLoggerRepository (
Void)
Constructs a new
AscbLoggerRepository instance.Instance methods
getLogger
function getLogger (
name:String) : Logger
Returns a pre-configured logger for the passed-in
name.A new logger is created for names to which no logger has been assigned yet.
The new logger is configured with the name. The logger is then cached by
name and returned for usage.
Parameters:
name:
the name of the logger to return
Returns:
the logger corresponding to the passed-in
nameSpecified by: