MediaWiki master
|
ConsoleLogger service provider for MediaWiki\Logger\LoggerFactory. More...
Inherits MediaWiki\Logger\Spi.
Public Member Functions | ||||
__construct (array $config=[]) | ||||
getLogger ( $channel) | ||||
Get a logger instance.
| ||||
ConsoleLogger service provider for MediaWiki\Logger\LoggerFactory.
This is developed for use in maintenance/eval.php.
Definition at line 16 of file ConsoleSpi.php.
MediaWiki\Logger\ConsoleSpi::__construct | ( | array | $config = [] | ) |
array | $config |
|
Definition at line 30 of file ConsoleSpi.php.
MediaWiki\Logger\ConsoleSpi::getLogger | ( | $channel | ) |
Get a logger instance.
string | $channel | Logging channel |
Implements MediaWiki\Logger\Spi.
Definition at line 36 of file ConsoleSpi.php.