Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilverStripe Sentry Logger

Scrutinizer Code Quality helpfulrobot

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

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages