1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-09 22:56:41 +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

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