Skip to content

swilsonau/silverstripe-sentrylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages