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 32 of file WikiProcessor.php.

Member Function Documentation

◆ __invoke()

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

Definition at line 38 of file WikiProcessor.php.

References $wgVersion, WikiMap\getCurrentWikiDbDomain(), WebRequest\getRequestId(), WikiMap\getWikiIdFromDbDomain(), wfHostname(), and wfIsCLI().


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