mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 05:36:45 +02:00
Remove duplicated info about line and file in WildfireFormatter
This commit is contained in:
@@ -43,9 +43,11 @@ class WildfireFormatter implements FormatterInterface
|
|||||||
$file = $line = '';
|
$file = $line = '';
|
||||||
if (isset($record['extra']['file'])) {
|
if (isset($record['extra']['file'])) {
|
||||||
$file = $record['extra']['file'];
|
$file = $record['extra']['file'];
|
||||||
|
unset($record['extra']['file']);
|
||||||
}
|
}
|
||||||
if (isset($record['extra']['line'])) {
|
if (isset($record['extra']['line'])) {
|
||||||
$line = $record['extra']['line'];
|
$line = $record['extra']['line'];
|
||||||
|
unset($record['extra']['line']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create JSON object describing the appearance of the message in the console
|
// Create JSON object describing the appearance of the message in the console
|
||||||
|
Reference in New Issue
Block a user