8000 Fix the link to `Monolog\Processor\ProcessorInterface` in processors.rst by marcinowski · Pull Request #10796 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fix the link to Monolog\Processor\ProcessorInterface in processors.rst #10796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update processors.rst
  • Loading branch information
marcinowski authored Dec 20, 2018
commit a0f4a0a48b412deda2159dcce8ab07bfd3f0f3c1
4 changes: 3 additions & 1 deletion logging/processors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ handler level or at the channel level instead of registering it globally
The autoconfiguration of Monolog processors was introduced in Monolog bundle 2.4.

If you're using the :ref:`default services.yaml configuration <service-container-services-load-example>`,
processors implementing :class:`Monolog\\Processor\\ProcessorInterface`
processors implementing ProcessorInterface_
are automatically registered as services and tagged with ``monolog.processor``,
so you can use them without adding any configuration. The same applies to the
built-in :class:`Symfony\\Bridge\\Monolog\\Processor\\TokenProcessor` and
Expand Down Expand Up @@ -298,3 +298,5 @@ the ``monolog.processor`` tag:
$container
->register(SessionRequestProcessor::class)
->addTag('monolog.processor', array('channel' => 'main'));

.. _ProcessorInterface: https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/ProcessorInterface.php
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed too

0