Use MWLogger logging for legacy logging methods
authorBryan Davis <bd808@wikimedia.org>
Fri, 21 Mar 2014 05:01:24 +0000 (23:01 -0600)
committerKunal Mehta <legoktm@gmail.com>
Wed, 29 Oct 2014 18:55:08 +0000 (11:55 -0700)
commit28a7ce420bd94e77db9a4cff983499c61292ab4c
tree22421addbfa759b6543a566bcaa85b8c3de7afaa
parent79168e0f8b0d20d2ffdfbbb51d1acf42ecea05a4
Use MWLogger logging for legacy logging methods

Send wfDebug, wfDebugLog, wfLogDBError and wfLogDBError log messages to
the new MWLogger PSR-3 logger subsystem. Compatibility with the historic
logging operations of wfLogDBError are provided by MWLoggerLegacyLogger
and the MWLoggerLegacySpi logger factory.

Requires the MWLogger system introduced in I5c82299 and the Composer
managed libraries from Ie667944.

Change-Id: I1e5596d590144fbfdfd5f18bc42cf1ef0dbcac12
RELEASE-NOTES-1.25
docs/mwlogger.txt
includes/AutoLoader.php
includes/DefaultSettings.php
includes/GlobalFunctions.php
includes/debug/logger/legacy/Logger.php [new file with mode: 0644]
includes/debug/logger/legacy/Spi.php [new file with mode: 0644]
tests/phpunit/includes/GlobalFunctions/GlobalTest.php