Skip to content

Instantly share code, notes, and snippets.

@MihailoJoksimovic
Created August 9, 2012 14:39
Show Gist options
  • Save MihailoJoksimovic/3304724 to your computer and use it in GitHub Desktop.
Save MihailoJoksimovic/3304724 to your computer and use it in GitHub Desktop.
<?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">
<imports>
<import resource="services.xml" />
</imports>
<services>
<service id="chess_monolog_bundle.chrome_php_handler" class="Monolog\Handler\ChromePHPHandler">
<argument>100</argument>
</service>
<service id="chess_monolog_bundle.chesscom_handler" class="Application\ChessMonologBundle\Handler\ChesscomLogPerFileHandler">
<argument>%chess.logs_dir%/chesscomLogs</argument>
<argument>100</argument>
</service>
<service id="chess_monolog_bundle.controller_logger" parent="monolog.logger_prototype">
<argument index="0">script</argument>
<call method="pushHandler">
<argument type="service" id="chess_monolog_bundle.chrome_php_handler" />
</call>
<call method="pushHandler">
<argument type="service" id="chess_monolog_bundle.chesscom_handler" />
</call>
</service>
</services>
</container>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment