monolog-bundle
monolog-bundle copied to clipboard
Add priority field to processor tags
So that the order in which the processors are used by monolog can be determined. Example config:
Foo\Bar\Log\Processors\FirstProcessor:
tags:
- { name: monolog.processor, channel: http }
Foo\Bar\Log\Processors\SecondProcessor:
tags:
- { name: monolog.processor, channel: http, priority: -10 } # last
Foo\Bar\Log\Processors\ThirdProcessor:
tags:
- { name: monolog.processor, channel: http, priority: -20 } # very last
(PR in favor of old PR)
Related PR has been merged, can you finish the review @HypeMC? Thanks!
Hey, what's the status here? I'm also interested in the feature. Thanks :)
Hey, what's the status here? I'm also interested in the feature. Thanks :)
Following comment is still open: https://github.com/symfony/monolog-bundle/pull/455/files#r1369858964 I didn't take the time to fix it anymore, however I'll check if I can implement it sometime (or feel free to change it)
@stof, @HypeMC, would you please check?
@Seldaek could you merge this?
@nicolas-grekas could you help to merge this?