LoggerMap
extends AbstractLazyMap
in package
implements
RegistrationProvidedLoggerFactory
Interfaces, Classes and Traits
Table of Contents
- SEPARATOR = '\'
- $rootLogger : Logger
- __construct() : mixed
- __get() : mixed
- Magic PHP getter {@link http://www.php.net/manual/en/language.oop5.overloading.php#object.get}
- getLogger() : Logger
- getRootLogger() : Logger
- registerLogger() : mixed
- setRootLogger() : mixed
- instantiate() : mixed
- Instantiate a particular key by the given name
- trim() : mixed
Constants
SEPARATOR
public
mixed
SEPARATOR
= '\'
Properties
$rootLogger
private
Logger
$rootLogger
Methods
__construct()
public
__construct(Logger $rootLogger) : mixed
Parameters
- $rootLogger : Logger
Return values
mixed —__get()
Magic PHP getter {@link http://www.php.net/manual/en/language.oop5.overloading.php#object.get}
public
__get(string $name) : mixed
Parameters
- $name : string
Return values
mixed —reference
getLogger()
public
getLogger(string $name) : Logger
Parameters
- $name : string
Return values
Logger —getRootLogger()
public
getRootLogger() : Logger
Return values
Logger —registerLogger()
public
registerLogger(string $classOrNamespace, Logger $logger) : mixed
Parameters
- $classOrNamespace : string
- $logger : Logger
Return values
mixed —setRootLogger()
public
setRootLogger(Logger $rootLogger) : mixed
Parameters
- $rootLogger : Logger
Return values
mixed —instantiate()
Instantiate a particular key by the given name
protected
instantiate(string $name) : mixed
Parameters
- $name : string
Return values
mixed —trim()
private
trim(mixed $name) : mixed
Parameters
- $name : mixed