monolog-bundle
monolog-bundle copied to clipboard
Adding exclude_fields in the configuration of slack handlers
Add configuration :
exclude_fields
=> Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2']
cf. https://github.com/Seldaek/monolog/blob/main/src/Monolog/Handler/SlackHandler.php
I would love to see this land in a release, I'm currently running into a situation where this functionality is pretty much required. Can't solve it with a processor, since the record is already turned into a SlackRecord...
So... any way of getting this ball rolling again? Pinging @Seldaek / @stof ?