X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdebug%2Flogger%2Fmonolog%2FLegacyHandler.php;h=258a9a887e14f2e11869f0fda37532106d4d137f;hb=2323b0ba8161892714c3aba9fc6a4212397e0283;hp=d40414ce905896dc038ee756f8753cff0618c4f4;hpb=e5facc46bc170c302438f60849041b0d6be75e82;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/debug/logger/monolog/LegacyHandler.php b/includes/debug/logger/monolog/LegacyHandler.php index d40414ce90..258a9a887e 100644 --- a/includes/debug/logger/monolog/LegacyHandler.php +++ b/includes/debug/logger/monolog/LegacyHandler.php @@ -27,7 +27,7 @@ use Monolog\Logger; use UnexpectedValueException; /** - * Log handler that replicates the behavior of MediaWiki's wfErrorLog() + * Log handler that replicates the behavior of MediaWiki's former wfErrorLog() * logging service. Log output can be directed to a local file, a PHP stream, * or a udp2log server. * @@ -44,8 +44,7 @@ use UnexpectedValueException; * replacement for \Monolog\Handler\StreamHandler. * * @since 1.25 - * @author Bryan Davis - * @copyright © 2013 Bryan Davis and Wikimedia Foundation. + * @copyright © 2013 Wikimedia Foundation and contributors */ class LegacyHandler extends AbstractProcessingHandler { @@ -195,7 +194,6 @@ class LegacyHandler extends AbstractProcessingHandler { $text = (string)$record['formatted']; if ( $this->useUdp() ) { - // Clean it up for the multiplexer if ( $this->prefix !== '' ) { $leader = ( $this->prefix === '{channel}' ) ?