debug_prod.xml 1.3 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter key="debug.debug_handlers_listener.class">Symfony\Component\HttpKernel\EventListener\DebugHandlersListener</parameter>
  7. <parameter key="debug.stopwatch.class">Symfony\Component\Stopwatch\Stopwatch</parameter>
  8. <parameter key="debug.error_handler.throw_at">0</parameter>
  9. </parameters>
  10. <services>
  11. <service id="debug.debug_handlers_listener" class="%debug.debug_handlers_listener.class%">
  12. <tag name="kernel.event_subscriber" />
  13. <tag name="monolog.logger" channel="php" />
  14. <argument>null</argument><!-- Exception handler -->
  15. <argument type="service" id="logger" on-invalid="null" />
  16. <argument>null</argument><!-- Log levels map for enabled error levels -->
  17. <argument>null</argument>
  18. <argument>true</argument>
  19. <argument>null</argument><!-- %templating.helper.code.file_link_format% -->
  20. </service>
  21. <service id="debug.stopwatch" class="%debug.stopwatch.class%" />
  22. </services>
  23. </container>