-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Alias Monolog\Formatter\JsonFormatter instead of creating a new one #11301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Should we remove the whole service instead and use |
This solution leverage autowiring which can be "cool" to showcase in the doc. |
I updated base branch to 3.4 |
We need some Monolog expert to review this. Thanks! |
…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
@B-Galati thanks for this contribution. However, while merging, we did some changes to finally remove the service and use the built-in Monolog service instead in the configuration. Both Christian and Grégoire expressed some concerns, so I think it's OK to do that. Thanks. |
@javiereguiluz Thanks for the heads up! |
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.