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

Added $appendNewline flag to the JsonFormatter to enable using it when logging to files, fixes #344

This commit is contained in:
Jordi Boggiano
2014-04-20 18:38:47 +02:00
parent 53d0df17bb
commit 5e8bb7556b
5 changed files with 36 additions and 20 deletions

View File

@@ -64,6 +64,6 @@ class AmqpHandler extends AbstractProcessingHandler
*/
protected function getDefaultFormatter()
{
return new JsonFormatter();
return new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false);
}
}