easy_log_handler.yaml 576 B

1234567891011121314151617
  1. when@dev:
  2. services:
  3. EasyCorp\EasyLog\EasyLogHandler:
  4. public: false
  5. arguments: ['%kernel.logs_dir%/%kernel.environment%.log']
  6. #// FIXME: How to add this configuration automatically without messing up with the monolog configuration?
  7. #monolog:
  8. # handlers:
  9. # buffered:
  10. # type: buffer
  11. # handler: easylog
  12. # channels: ['!event']
  13. # level: debug
  14. # easylog:
  15. # type: service
  16. # id: EasyCorp\EasyLog\EasyLogHandler