1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-17 18:36:32 +02:00

Add linebreak to end of logstash records.

This commit is contained in:
Gunnar Lium
2013-01-09 16:25:35 +01:00
parent 25a97abf90
commit 71e9cf5626

View File

@@ -93,6 +93,6 @@ class LogstashFormatter extends NormalizerFormatter
$message['@fields'][$this->contextPrefix . $key] = $val;
}
return json_encode($message);
return json_encode($message) . PHP_EOL;
}
}