10000 Update processors.rst · marcinowski/symfony-docs@a0f4a0a · GitHub
[go: up one dir, main page]

Skip to content

Commit a0f4a0a

Browse files
authored
Update processors.rst
1 parent 44aaddd commit a0f4a0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

logging/processors.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ handler level or at the channel level instead of registering it globally
165165
The autoconfiguration of Monolog processors was introduced in Monolog bundle 2.4.
166166

167167
If you're using the :ref:`default services.yaml configuration <service-container-services-load-example>`,
168-
processors implementing :class:`Monolog\\Processor\\ProcessorInterface`
168+
processors implementing ProcessorInterface_
169169
are automatically registered as services and tagged with ``monolog.processor``,
170170
so you can use them without adding any configuration. The same applies to the
171171
built-in :class:`Symfony\\Bridge\\Monolog\\Processor\\TokenProcessor` and
@@ -298,3 +298,5 @@ the ``monolog.processor`` tag:
298298
$container
299299
->register(SessionRequestProcessor::class)
300300
->addTag('monolog.processor', array('channel' => 'main'));
301+
302+
.. _ProcessorInterface: https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/ProcessorInterface.php

0 commit comments

Comments
 (0)
0