raven.services.yml in Raven: Sentry Integration 3.x
File
raven.services.yml
View source
- services:
-
- http_client_middleware.raven:
- class: Drupal\raven\Http\HttpClientMiddleware
- tags:
- - { name: http_client_middleware }
-
- logger.raven:
- class: Drupal\raven\Logger\Raven
- arguments:
- - '@config.factory'
- - '@logger.log_message_parser'
- - '@module_handler'
- - '%kernel.environment%'
- - '@?current_user'
- - '@?request_stack'
- - '@?settings'
- tags:
- - { name: logger }
-
- raven.csp_subscriber:
- class: Drupal\raven\EventSubscriber\CspSubscriber
- arguments:
- - '@config.factory'
- tags:
- - { name: event_subscriber }
-
- raven.request_subscriber:
- class: Drupal\raven\EventSubscriber\RequestSubscriber
- calls:
- - [setContainer, ['@service_container']]
- arguments:
- - '@config.factory'
- - '@logger.raven'
- - '@datetime.time'
- tags:
- - { name: event_subscriber }
-
- raven.twig_tracing_extension:
- class: Drupal\raven\Twig\TwigTracingExtension
- arguments:
- - '@config.factory'
- tags:
- - { name: twig.extension }