MediaWiki  1.30.0
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 30 of file WikiProcessor.php.

Member Function Documentation

◆ __invoke()

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

Definition at line 36 of file WikiProcessor.php.

References $wgVersion, WebRequest\getRequestId(), global, wfHostname(), and wfWikiID().


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