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:
@@ -64,6 +64,6 @@ class AmqpHandler extends AbstractProcessingHandler
|
||||
*/
|
||||
protected function getDefaultFormatter()
|
||||
{
|
||||
return new JsonFormatter();
|
||||
return new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user