<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="debug.errors_logger_listener.class">Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener</parameter>
    </parameters>

    <services>
        <service id="debug.emergency_logger_listener" class="%debug.errors_logger_listener.class%">
            <tag name="kernel.event_subscriber" />
            <tag name="monolog.logger" channel="emergency" />
            <argument>emergency</argument>
            <argument type="service" id="logger" on-invalid="null" />
        </service>
    </services>
</container>
