swilsonalfa / sentrylogger
Publish SilverStripe errors and warnings to Sentry using the Raven client.
Package info
github.com/swilsonau/silverstripe-sentrylogger
Type:silverstripe-module
pkg:composer/swilsonalfa/sentrylogger
v1.2.1
2018-02-07 23:08 UTC
Requires
- sentry/sentry: ~1
- silverstripe/framework: ~3.1
This package is not auto-updated.
Last update: 2026-03-09 13:42:48 UTC
README
Publish SilverStripe errors and warnings to Sentry using the Raven client.
Installation
Composer (recommended):
composer require swilsonalfa/sentrylogger
Configuration
Add the following to your _config.php file in the mysite folder:
SS_Log::add_writer(new SentryLogger());
Add the Sentry DSN (available from the Sentry website) into your config yml file:
SentryLogger: sentry_dsn: https://xxx:xxx@app.getsentry.com/xxx