You are here

raven.services.yml in Raven: Sentry Integration 3.x

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

File

raven.services.yml
View source
  1. services:
  2. http_client_middleware.raven:
  3. class: Drupal\raven\Http\HttpClientMiddleware
  4. tags:
  5. - { name: http_client_middleware }
  6. logger.raven:
  7. class: Drupal\raven\Logger\Raven
  8. arguments:
  9. - '@config.factory'
  10. - '@logger.log_message_parser'
  11. - '@module_handler'
  12. - '%kernel.environment%'
  13. - '@?current_user'
  14. - '@?request_stack'
  15. - '@?settings'
  16. tags:
  17. - { name: logger }
  18. raven.csp_subscriber:
  19. class: Drupal\raven\EventSubscriber\CspSubscriber
  20. arguments:
  21. - '@config.factory'
  22. tags:
  23. - { name: event_subscriber }
  24. raven.request_subscriber:
  25. class: Drupal\raven\EventSubscriber\RequestSubscriber
  26. calls:
  27. - [setContainer, ['@service_container']]
  28. arguments:
  29. - '@config.factory'
  30. - '@logger.raven'
  31. - '@datetime.time'
  32. tags:
  33. - { name: event_subscriber }
  34. raven.twig_tracing_extension:
  35. class: Drupal\raven\Twig\TwigTracingExtension
  36. arguments:
  37. - '@config.factory'
  38. tags:
  39. - { name: twig.extension }