You are here

raven.services.yml in Raven: Sentry Integration 8.2

Same filename and directory in other branches
  1. 8 raven.services.yml
  2. 3.x raven.services.yml

File

raven.services.yml
View source
  1. services:
  2. logger.raven:
  3. class: Drupal\raven\Logger\Raven
  4. arguments: ['@config.factory', '@logger.log_message_parser', '@module_handler', '%kernel.environment%', '@?current_user', '@?request_stack', '@?settings']
  5. tags:
  6. - { name: logger }
  7. raven.csp_subscriber:
  8. class: Drupal\raven\EventSubscriber\CspSubscriber
  9. arguments:
  10. - '@config.factory'
  11. tags:
  12. - { name: event_subscriber }
  13. raven.request_subscriber:
  14. class: Drupal\raven\EventSubscriber\RequestSubscriber
  15. arguments:
  16. - '@config.factory'
  17. calls:
  18. - [setContainer, ['@service_container']]
  19. tags:
  20. - { name: event_subscriber }