MediaWiki master
MediaWiki\Logger\Monolog\WikiProcessor Class Reference

Annotate log records with request-global metadata, such as the hostname, wiki / request ID, and MediaWiki version. More...

Public Member Functions

 __invoke (array $record)
 

Detailed Description

Annotate log records with request-global metadata, such as the hostname, wiki / request ID, and MediaWiki version.

Since
1.25
Note
© 2013 Wikimedia Foundation and contributors

Definition at line 34 of file WikiProcessor.php.

Member Function Documentation

◆ __invoke()

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

Definition at line 40 of file WikiProcessor.php.

References MediaWiki\Http\Telemetry\getInstance(), MW_VERSION, wfHostname(), and wfIsCLI().


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