org.as2lib.core.BasicClass +--org.as2lib.env.log.repository.AscbLoggerRepository
LoggerRepository
AscbLoggerRepository
returns loggers of type 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.
public 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.
name | the name of the logger to return |
the logger corresponding to the passed-in name