silverstripe / silverstripe-raygun

Raygun.com integration for PHP
BSD 3-Clause "New" or "Revised" License
6 stars 23 forks source link

Adding tags #68

Closed axllent closed 2 years ago

axllent commented 2 years ago

Please excuse my ignorance if I missed something obvious, but is it possible to add tags to the Raygun logging? I'm wanting to pass certain values such as SS_ENVIRONMENT_TYPE. Thanks.

axllent commented 2 years ago

Never mind, we solved it by injecting a pushProcessor into the Psr\Log\LoggerInterface before Raygun to populate the $record['extra']['tags'].