MediaWiki
1.33.0
|
Annotate log records with request-global metadata, such as the hostname, wiki / request ID, and MediaWiki version. More...
Public Member Functions | |
__invoke (array $record) | |
Annotate log records with request-global metadata, such as the hostname, wiki / request ID, and MediaWiki version.
Definition at line 32 of file WikiProcessor.php.
MediaWiki\Logger\Monolog\WikiProcessor::__invoke | ( | array | $record | ) |
array | $record |
Definition at line 38 of file WikiProcessor.php.
References $wgVersion, WikiMap\getCurrentWikiDbDomain(), WebRequest\getRequestId(), WikiMap\getWikiIdFromDbDomain(), wfHostname(), and wfIsCLI().