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
Author
Bryan Davis bd808.nosp@m.@wik.nosp@m.imedi.nosp@m.a.or.nosp@m.g
Note
© 2013 Bryan Davis and Wikimedia Foundation.

Definition at line 31 of file WikiProcessor.php.

Member Function Documentation

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

Definition at line 37 of file WikiProcessor.php.

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


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