\SentryLogger
Publish SilverStripe errors and warnings to Sentry using the Raven client.
Synopsis
class SentryLogger
extends Zend_Log_Writer_Abstract
{
- // members
- private static string $default_error_level = 'NOTICE';
- private $sentry;
- private array $logLevels = ;
- private static $sentry_dsn;
- // methods
- public static void factory()
- public void __construct()
- public void _write()
Hierarchy
Extends
- Zend_Log_Writer_Abstract
Members
private
- $default_error_level — string
- $logLevels
- $sentry
- $sentry_dsn
Methods
public
- __construct()
- _write() — Send the error.
- factory()