mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #218] "formatter" option for type "service" doesn't work #75
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @acasademont on GitHub (Aug 7, 2013).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/218
Looking at the code I see that there is a
returnimmediately after the service alias is created. Should not be also possible to override whichever formatter the service has to a custom one?My use case is with the SncRedisBundle, where no formatter is set for the service and monolog doesn't call the setFormatter method either.
Thanks!
@acasademont commented on GitHub (Aug 7, 2013):
My bad, this should go to the monolog bundle, sorry!