From 3421c6cf056409fbaf546aff46b284d5b432e05f Mon Sep 17 00:00:00 2001 From: Piotr Stankowski Date: Tue, 9 Apr 2019 11:43:35 +0200 Subject: [PATCH] [MonologBridge] Add documentation on new processors --- logging/processors.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/logging/processors.rst b/logging/processors.rst index c5479db697c..310764b1fe8 100644 --- a/logging/processors.rst +++ b/logging/processors.rst @@ -172,10 +172,20 @@ Symfony's MonologBridge provides processors that can be registered inside your a :class:`Symfony\\Bridge\\Monolog\\Processor\\WebProcessor` Overrides data from the request using the data inside Symfony's request object. + +:class:`Symfony\\Bridge\\Monolog\\Processor\\RouteProcessor` + Adds information about current route (controller, action, route parameters). + +:class:`Symfony\\Bridge\\Monolog\\Processor\\ConsoleCommandProcessor` + Adds information about current console command. .. versionadded:: 3.4 The ``TokenProcessor`` class was introduced in Symfony 3.4. + +.. versionadded:: 4.3 + + The ``RouteProcessor`` and the ``ConsoleCommandProcessor`` were introduced in Symfony 4.3. Registering Processors per Handler ----------------------------------