Is there a possibility to simply just add formatter: json
on config.yml of Symfony, in order to define what formatter to use on every Monolog instance?
services:
json:
class: Monolog\Formatter\JsonFormatter
monolog:
handlers:
file:
type: stream
level: debug
formatter: json