No description, website, or topics provided.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_config
code FIX: Fixes #6 by providing a default error level to fallback to. (#7) Feb 1, 2017
.scrutinizer.yml
LICENSE.md
README.md
_config.php
composer.json

README.md

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