1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Remove duplicated info about line and file in WildfireFormatter

This commit is contained in:
Kirill chEbba Chebunin
2011-08-03 12:55:54 +04:00
parent 505f9b3481
commit 6e589ac028

View File

@@ -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