Skip to content

Commit 9339d89

Browse files
committed
feature #10244 Add documentation on new monolog processors (trakos)
This PR was merged into the master branch. Discussion ---------- Add documentation on new monolog processors Documentation supporting symfony/symfony#28330 Commits ------- 3421c6c [MonologBridge] Add documentation on new processors
2 parents 1f89237 + 3421c6c commit 9339d89

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)