Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad2bad9

Browse files
Minor reword
1 parent0c9c90f commitad2bad9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎logging/processors.rst‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ handler level or at the channel level instead of registering it globally
162162
..tip::
163163

164164
..versionadded::4.2
165-
Processors can be autoconfigured since Symfony 4.2.
166-
167-
Processors implementing:class:`Symfony\\Bridge\\Monolog\\Processor\\ProcessorInterface`
168-
can have their ``monolog.processor`` tag added for you bySymfony when autoconfiguration
169-
is enabled. In this situation, this means creating aprocessor class might be all you
170-
need do to to have it up and running. It also means enabling the
171-
:class:`Symfony\\Bridge\\Monolog\\Processor\\TokenProcessor`or the
172-
:class:`Symfony\\Bridge\\Monolog\\Processor\\WebProcessor`in your Flex-enabled app is a
173-
one-liner:
165+
The autoconfiguration of Monolog processors was introduced in Symfony 4.2.
166+
167+
If you're using the:ref:`default services.yaml configuration<service-container-services-load-example>`,
168+
processors implementing:class:`Symfony\\Bridge\\Monolog\\Processor\\ProcessorInterface`
169+
are automatically registered as services and tagged with ``monolog.processor``,
170+
so you can use them without adding any configuration. The same applies to the
171+
built-in:class:`Symfony\\Bridge\\Monolog\\Processor\\TokenProcessor`and
172+
:class:`Symfony\\Bridge\\Monolog\\Processor\\WebProcessor`processors, which
173+
can be enabled as follows:
174174

175175
..code-block::yaml
176176

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp