diff options
author | Bryan Davis <bd808@wikimedia.org> | 2015-01-13 18:34:36 -0700 |
---|---|---|
committer | Legoktm <legoktm.wikipedia@gmail.com> | 2015-01-22 22:11:08 +0000 |
commit | d62f6391f86cb0897a31613f6a56379c180a4b78 (patch) | |
tree | 8a30b7361304ecdb84cca2f5dced0d5bbfec52ef /autoload.php | |
parent | 56b70b61afc69139e28ef501947184897eaa64c3 (diff) | |
download | mediawikicore-d62f6391f86cb0897a31613f6a56379c180a4b78.tar.gz mediawikicore-d62f6391f86cb0897a31613f6a56379c180a4b78.zip |
Provide a backwards compatibility shim for MWLogger
MWLogger was renamed MWLoggerFactory and reduced to a static utility
class in Ie474676. Reintroduce an MWLogger that proxies the public
static methods of MWLoggerFactory to ease the transition of users who
have implemented $wgMWLoggerDefaultSpi configurations that reference
MWLogger.
As noted in the class, this is a temporary bandaid that should be ripped
off before 1.25 becomes an official release.
Change-Id: Iaccb78a510c60aab2ff20a9aa7c0869699657388
Diffstat (limited to 'autoload.php')
-rw-r--r-- | autoload.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload.php b/autoload.php index c0354395206e..11b526645865 100644 --- a/autoload.php +++ b/autoload.php @@ -689,6 +689,7 @@ $wgAutoloadLocalClasses = array( 'MWFunction' => __DIR__ . '/includes/utils/MWFunction.php', 'MWHookException' => __DIR__ . '/includes/Hooks.php', 'MWHttpRequest' => __DIR__ . '/includes/HttpFunctions.php', + 'MWLogger' => __DIR__ . '/includes/debug/logger/Logger.php', 'MWLoggerFactory' => __DIR__ . '/includes/debug/logger/Factory.php', 'MWLoggerLegacyLogger' => __DIR__ . '/includes/debug/logger/legacy/Logger.php', 'MWLoggerLegacySpi' => __DIR__ . '/includes/debug/logger/legacy/Spi.php', |