Wikimedia

MassAction: Use PSR logging instead of wfdebuglog in MassAction

MassAction is an extension for MediaWiki, see https://www.mediawiki.org/wiki/Extension:MassAction for more information

Remove wfdebuglog calls and use the Logger!!!!

LoggerFactory::getInstance( $logGroup ) $logger->info( $text, $context )

Please see the contents of https://github.com/wikimedia/mediawiki/blob/master/includes/GlobalFunctions.php#L1156 for how to use the logger. Loggers should either be injected in the constructor of objects needing to log or an instance got from the factory there

Link to original task in phabricator: https://phabricator.wikimedia.org/T100102

Task tags

  • php

Students who completed this task

Scimonster

Task type

  • code Code
close

2015