easy_log_handler.yaml 506 B

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