MediaWiki REL1_39
MediaWiki\Logger\ConsoleSpi Class Reference
Inheritance diagram for MediaWiki\Logger\ConsoleSpi:
Collaboration diagram for MediaWiki\Logger\ConsoleSpi:

Public Member Functions

 __construct ( $config=[])
 
 getLogger ( $channel)
 Get a logger instance.
 

Detailed Description

Definition at line 5 of file ConsoleSpi.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Logger\ConsoleSpi::__construct ( $config = [])

Definition at line 6 of file ConsoleSpi.php.

Member Function Documentation

◆ getLogger()

MediaWiki\Logger\ConsoleSpi::getLogger ( $channel)

Get a logger instance.

Parameters
string$channelLogging channel
Returns
\Psr\Log\LoggerInterface Logger instance

Implements MediaWiki\Logger\Spi.

Definition at line 9 of file ConsoleSpi.php.


The documentation for this class was generated from the following file: