monolog.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. <services>
  6. <service id="monolog.logger" parent="monolog.logger_prototype" public="false">
  7. <argument index="0">app</argument>
  8. <call method="useMicrosecondTimestamps">
  9. <argument>%monolog.use_microseconds%</argument>
  10. </call>
  11. </service>
  12. <service id="logger" alias="monolog.logger" />
  13. <service id="Psr\Log\LoggerInterface" alias="logger" public="false" />
  14. <service id="monolog.logger_prototype" class="Symfony\Bridge\Monolog\Logger" abstract="true">
  15. <argument /><!-- Channel -->
  16. </service>
  17. <service id="monolog.activation_strategy.not_found" class="Symfony\Bridge\Monolog\Handler\FingersCrossed\NotFoundActivationStrategy" abstract="true" />
  18. <service id="monolog.handler.fingers_crossed.error_level_activation_strategy" class="Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy" abstract="true" />
  19. <!-- Formatters -->
  20. <service id="monolog.formatter.chrome_php" class="Monolog\Formatter\ChromePHPFormatter" public="false" />
  21. <service id="monolog.formatter.gelf_message" class="Monolog\Formatter\GelfMessageFormatter" public="false" />
  22. <service id="monolog.formatter.html" class="Monolog\Formatter\HtmlFormatter" public="false" />
  23. <service id="monolog.formatter.json" class="Monolog\Formatter\JsonFormatter" public="false" />
  24. <service id="monolog.formatter.line" class="Monolog\Formatter\LineFormatter" public="false" />
  25. <service id="monolog.formatter.loggly" class="Monolog\Formatter\LogglyFormatter" public="false" />
  26. <service id="monolog.formatter.normalizer" class="Monolog\Formatter\NormalizerFormatter" public="false" />
  27. <service id="monolog.formatter.scalar" class="Monolog\Formatter\ScalarFormatter" public="false" />
  28. <service id="monolog.formatter.wildfire" class="Monolog\Formatter\WildfireFormatter" public="false" />
  29. <service id="monolog.formatter.logstash" class="Monolog\Formatter\LogstashFormatter" public="false">
  30. <argument index="0">app</argument>
  31. </service>
  32. <service id="monolog.http_client" class="Symfony\Contracts\HttpClient\HttpClientInterface" public="false">
  33. <factory class="Symfony\Component\HttpClient\HttpClient" method="create" />
  34. </service>
  35. </services>
  36. </container>