1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Fix string interpolation of newline

This commit is contained in:
Jordi Boggiano
2023-10-27 13:49:01 +02:00
parent 1b93764d15
commit 70e1c2f405

View File

@@ -155,7 +155,7 @@ class LineFormatter extends NormalizerFormatter
do { do {
$depth++; $depth++;
if ($depth > $this->maxNormalizeDepth) { if ($depth > $this->maxNormalizeDepth) {
$str .= '\n[previous exception] Over ' . $this->maxNormalizeDepth . ' levels deep, aborting normalization'; $str .= "\n[previous exception] Over " . $this->maxNormalizeDepth . ' levels deep, aborting normalization';
break; break;
} }