Deprecate class LegacyFormatter
authorMax Semenik <maxsem.wiki@gmail.com>
Sat, 29 Sep 2018 00:50:10 +0000 (17:50 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Sat, 29 Sep 2018 02:38:58 +0000 (19:38 -0700)
No uses anywhere, was used by the now removed function wfErrorLog().

Change-Id: Ib4561157e776c64ab17f014fbd8603b0934acb2c

RELEASE-NOTES-1.32
includes/debug/logger/monolog/LegacyFormatter.php

index f540de5..f50ab00 100644 (file)
@@ -470,6 +470,7 @@ because of Phabricator reports.
   escaped.
 * Skin::getDynamicStylesheetQuery() has been deprecated. It always
   returns action=raw&ctype=text/css which callers should use directly.
+* Class LegacyFormatter is deprecated.
 
 === Other changes in 1.32 ===
 * (T198811) The following tables have had their UNIQUE indexes turned into
index 3cf6e46..e16dd4c 100644 (file)
@@ -28,6 +28,7 @@ use Monolog\Formatter\NormalizerFormatter;
  * `wfLogDBError` and the former `wfErrorLog` global functions by delegating the formatting to
  * \MediaWiki\Logger\LegacyLogger.
  *
+ * @deprecated since 1.32
  * @since 1.25
  * @copyright © 2013 Wikimedia Foundation and contributors
  * @see \MediaWiki\Logger\LegacyLogger