From 6e589ac028c3e9f713c55436c94714bd60889db9 Mon Sep 17 00:00:00 2001 From: Kirill chEbba Chebunin Date: Wed, 3 Aug 2011 12:55:54 +0400 Subject: [PATCH] Remove duplicated info about line and file in WildfireFormatter --- src/Monolog/Formatter/WildfireFormatter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Monolog/Formatter/WildfireFormatter.php b/src/Monolog/Formatter/WildfireFormatter.php index c1821d56..609e8e90 100644 --- a/src/Monolog/Formatter/WildfireFormatter.php +++ b/src/Monolog/Formatter/WildfireFormatter.php @@ -43,9 +43,11 @@ class WildfireFormatter implements FormatterInterface $file = $line = ''; if (isset($record['extra']['file'])) { $file = $record['extra']['file']; + unset($record['extra']['file']); } if (isset($record['extra']['line'])) { $line = $record['extra']['line']; + unset($record['extra']['line']); } // Create JSON object describing the appearance of the message in the console