MediaWiki REL1_31
|
A logger which writes to the terminal. More...
Public Member Functions | |
__construct ( $channel) | |
log ( $level, $message, array $context=[]) | |
A logger which writes to the terminal.
The output is supposed to be human-readable, and should be changed as necessary to better achieve that goal.
Definition at line 12 of file ConsoleLogger.php.
MediaWiki\Logger\ConsoleLogger::__construct | ( | $channel | ) |
Definition at line 13 of file ConsoleLogger.php.
MediaWiki\Logger\ConsoleLogger::log | ( | $level, | |
$message, | |||
array | $context = [] ) |
Definition at line 17 of file ConsoleLogger.php.
References $context, and MediaWiki\Logger\LegacyLogger\format().