MediaWiki
1.23.14
|
Backwards compatible PSR-3 logger instance factory. More...
Static Public Member Functions | |
static | getInstance ( $channel) |
Get a named logger instance. More... | |
Private Member Functions | |
__construct () | |
Construction of utility class is not allowed. More... | |
Backwards compatible PSR-3 logger instance factory.
PSR-3 debug logging was introduced to MediaWiki in 1.25. This class provides a backward compatible PSR-3 logging layer to make backporting critical updates from 1.25+ easier. It also serves to allow extensions that maintain backwards compatibility with the 1.23 LTS releases to migrate to the new logging system.
Definition at line 36 of file LoggerFactory.php.
|
private |
Construction of utility class is not allowed.
Definition at line 51 of file LoggerFactory.php.
|
static |
Get a named logger instance.
string | $channel | Logger channel (name) |
Definition at line 44 of file LoggerFactory.php.