8000 [MonologBridge] Add documentation on new processors · symfony/symfony-docs@3421c6c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3421c6c

Browse files
committed
[MonologBridge] Add documentation on new processors
1 parent 1f89237 commit 3421c6c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

logging/processors.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,20 @@ Symfony's MonologBridge provides processors that can be registered inside your a
172172
:class:`Symfony\\Bridge\\Monolog\\Processor\\WebProcessor`
173173
Overrides data from the request using the data inside Symfony's request
174174
object.
175+
176+
:class:`Symfony\\Bridge\\Monolog\\Processor\\RouteProcessor`
177+
Adds information about current route (controller, action, route parameters).
178+
179+
:class:`Symfony\\Bridge\\Monolog\\Processor\\ConsoleCommandProcessor`
180+
Adds information about current console command.
175181

176182
.. versionadded:: 3.4
177183

178184
The ``TokenProcessor`` class was introduced in Symfony 3.4.
185+
186+
.. versionadded:: 4.3
187+
188+
The ``RouteProcessor`` and the ``ConsoleCommandProcessor`` were introduced in Symfony 4.3.
179189

180190
Registering Processors per Handler
181191
----------------------------------

0 commit comments

Comments
 (0)
0