AudiofarmLoggerRepository
| Kind of class: | class |
|---|---|
| Inherits from: | BasicClass |
| Implements: | |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.env.log.repository.AudiofarmLoggerRepository |
| File last modified: | Sunday, 26 June 2005, 14:07:34 |
AudiofarmLoggerRepository returns loggers of type org.as2lib.env.log.logger.AudiofarmLogger.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 as2logger.
You also configure the as2logger as if you would use it directly.
Already received loggers are cached by name. Thus there exists only one logger
instance per logger name.
Summary
Constructor
Constructor
AudiofarmLoggerRepository
function AudiofarmLoggerRepository (
Void)
Constructs a new
AudiofarmLoggerRepository 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: