8000 Deprecate the LoggingMiddleware in Symfony 4.3 · symfony/symfony-docs@d28cfd3 · GitHub
[go: up one dir, main page]

Skip to content

Commit d28cfd3

Browse files
committed
Deprecate the LoggingMiddleware in Symfony 4.3
1 parent 2091a26 commit d28cfd3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/messenger.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ are configured for you:
7979
#. :class:`Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware` (enables asynchronous processing)
8080
#. :class:`Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware` (calls the registered handler(s))
8181

82+
.. deprecated:: 4.3
83+
84+
The ``LoggingMiddleware`` is deprecated since Symfony 4.3 and will be
85+
removed in 5.0. Pass a logger to ``SendMessageMiddleware`` instead.
86+
8287
Example::
8388

8489
use App\Message\MyMessage;

0 commit comments

Comments
 (0)
0