MediaWiki master
MediaWiki\Logger\Monolog\ContextProcessor Class Reference

Annotate log records with the context added via LoggerFactory::getContext(). More...

Public Member Functions

 __invoke (array $record)
 

Detailed Description

Annotate log records with the context added via LoggerFactory::getContext().

Since
1.44

Definition at line 11 of file ContextProcessor.php.

Member Function Documentation

◆ __invoke()

MediaWiki\Logger\Monolog\ContextProcessor::__invoke ( array $record)
Parameters
array$record
Returns
array

Definition at line 17 of file ContextProcessor.php.

References MediaWiki\Logger\LoggerFactory\getContext().


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