8000 minor #11624 Deprecate the LoggingMiddleware in Symfony 4.3 (javiereg… · symfony/symfony-docs@7d48c4d · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d48c4d

Browse files
committed
minor #11624 Deprecate the LoggingMiddleware in Symfony 4.3 (javiereguiluz)
This PR was merged into the 4.3 branch. Discussion ---------- Deprecate the LoggingMiddleware in Symfony 4.3 In #11619 we removed this for Symfony 5.0 ... but we also need to add the deprecation notice in 4.3. Commits ------- d28cfd3 Deprecate the LoggingMiddleware in Symfony 4.3
2 parents 7bfd917 + d28cfd3 commit 7d48c4d

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