Monolog: Add Formatter that uses MWExceptionHandler::getRedactedTraceAsString
authorBryan Davis <bd808@wikimedia.org>
Thu, 30 Jul 2015 19:02:35 +0000 (13:02 -0600)
committerBryan Davis <bd808@wikimedia.org>
Fri, 31 Jul 2015 19:02:39 +0000 (13:02 -0600)
commit27dcc9f051821d2c25b4411d2838a91d9f6740df
treedecd5ef527b5b9f79bb923c446625f5886705a71
parent93d1d61e9ff6126fe5a38a807badcdaa2b60e5c0
Monolog: Add Formatter that uses MWExceptionHandler::getRedactedTraceAsString

Add a Monolog Formatter class that uses
MWExceptionHandler::getRedactedTraceAsString when outputting stack
traces.

Bug: T107440
Change-Id: Ic580c137e27aac95435f7b073a18cf61820b172f
autoload.php
includes/debug/logger/LegacyLogger.php
includes/debug/logger/monolog/LineFormatter.php [new file with mode: 0644]
tests/phpunit/includes/debug/logger/monolog/LineFormatterTest.php [new file with mode: 0644]