Move MWLogger classes to MediaWiki\Logger namespace
authorBryan Davis <bd808@wikimedia.org>
Mon, 23 Mar 2015 00:53:24 +0000 (18:53 -0600)
committerOri Livneh <ori@wikimedia.org>
Fri, 3 Apr 2015 18:32:24 +0000 (11:32 -0700)
commit1195e11a8a088ff35f506983c0496cb8af595e54
treed17b0069c86ff6dc95310177aeeefe33dbaeb315
parent35f5f0bab7d5e96872d5aa781030e7340bcb1ea9
Move MWLogger classes to MediaWiki\Logger namespace

Move the MWLogger PSR-3 logging related classes into the
MediaWiki\Logger namespace. Create shim classes to ease migration of
existing MWLoggerFactory usage to the namespaced classes.

Bug: T93406
Change-Id: I359cc81fbd2dcf8937742311dcc7d3dee08747b0
34 files changed:
RELEASE-NOTES-1.25
api.php
autoload.php
docs/logger.txt [new file with mode: 0644]
docs/mwlogger.txt [deleted file]
includes/DefaultSettings.php
includes/GlobalFunctions.php
includes/MediaWiki.php
includes/debug/logger/Factory.php [deleted file]
includes/debug/logger/LegacyLogger.php [new file with mode: 0644]
includes/debug/logger/LegacySpi.php [new file with mode: 0644]
includes/debug/logger/Logger.php [deleted file]
includes/debug/logger/LoggerFactory.php [new file with mode: 0644]
includes/debug/logger/MonologSpi.php [new file with mode: 0644]
includes/debug/logger/NullSpi.php
includes/debug/logger/Shims.php [new file with mode: 0644]
includes/debug/logger/Spi.php
includes/debug/logger/legacy/Logger.php [deleted file]
includes/debug/logger/legacy/Spi.php [deleted file]
includes/debug/logger/monolog/Handler.php [deleted file]
includes/debug/logger/monolog/LegacyFormatter.php
includes/debug/logger/monolog/LegacyHandler.php [new file with mode: 0644]
includes/debug/logger/monolog/Processor.php [deleted file]
includes/debug/logger/monolog/Spi.php [deleted file]
includes/debug/logger/monolog/SyslogHandler.php
includes/debug/logger/monolog/WikiProcessor.php [new file with mode: 0644]
includes/exception/HttpError.php
includes/jobqueue/JobRunner.php
includes/objectcache/ObjectCache.php
includes/specials/SpecialRunJobs.php
maintenance/runJobs.php
maintenance/storage/recompressTracked.php
tests/phpunit/includes/debug/logging/LegacyLoggerTest.php [new file with mode: 0644]
tests/phpunit/includes/debug/logging/legacy/LoggerTest.php [deleted file]