Skip to content

Commit 5009c8c

Browse files
committed
minor #11301 Alias Monolog\Formatter\JsonFormatter instead of creating a new one (B-Galati)
This PR was merged into the 3.4 branch. Discussion ---------- Alias Monolog\Formatter\JsonFormatter instead of creating a new one Let me know if I am wrong but I thought it would be more reliable to use MonologBundle service instead of creating a new one. Commits ------- aecac40 Alias Monolog\Formatter\JsonFormatter instead of creating a new one
2 parents d0371b7 + aecac40 commit 5009c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logging/formatter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ configure your handler to use it:
1717
services:
1818
# ...
1919
20-
Monolog\Formatter\JsonFormatter: ~
20+
Monolog\Formatter\JsonFormatter: '@monolog.formatter.json'
2121
2222
# app/config/config_prod.yml (and/or config_dev.yml)
2323
monolog:

0 commit comments

Comments
 (0)