Skip to content

Commit aecac40

Browse files
committed
Alias Monolog\Formatter\JsonFormatter instead of creating a new one
1 parent bcfa1e4 commit aecac40

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)