1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00

Remove closure stack frames entirely from log

This commit is contained in:
Jordi Boggiano
2019-08-30 10:24:17 +02:00
parent 6688b45ebe
commit 2efcbcd181
4 changed files with 3 additions and 12 deletions

View File

@@ -195,8 +195,6 @@ class JsonFormatter extends NormalizerFormatter
foreach ($trace as $frame) {
if (isset($frame['file'])) {
$data['trace'][] = $frame['file'].':'.$frame['line'];
} else {
$data['trace'][] = (!empty($frame['class']) ? $frame['class'].$frame['type'] : '').$frame['function'];
}
}
}