MediaWiki REL1_35
|
LoggerFactory service provider that creates LegacyLogger instances. More...
Public Member Functions | |
getLogger ( $channel) | |
Get a logger instance. | |
setLoggerForTest ( $channel, LoggerInterface $logger=null) | |
Protected Attributes | |
array | $singletons = [] |
LoggerFactory service provider that creates LegacyLogger instances.
Usage:
Definition at line 39 of file LegacySpi.php.
MediaWiki\Logger\LegacySpi::getLogger | ( | $channel | ) |
Get a logger instance.
string | $channel | Logging channel |
Implements MediaWiki\Logger\Spi.
Definition at line 52 of file LegacySpi.php.
MediaWiki\Logger\LegacySpi::setLoggerForTest | ( | $channel, | |
LoggerInterface | $logger = null |
||
) |
Definition at line 65 of file LegacySpi.php.
|
protected |
Definition at line 44 of file LegacySpi.php.