offline/oc-sentry-plugin

Sentry integration for October CMS

Installs: 169

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 3

Open Issues: 0

Type:october-plugin

v2.1.0 2020-05-19 15:33 UTC

This package is auto-updated.

Last update: 2020-06-09 08:57:50 UTC


README

Sentry integration for October CMS

You can manage your Sentry configuration via the backend settings.

This plugin is also available on October's marketplace: https://octobercms.com/plugin/offline-sentry

Capture custom messages

Use the following syntax to send custom messages to your Sentry logs.

\Sentry\withScope(function (\Sentry\State\Scope $scope): void {
    $scope->setExtras([
        'custom' => 'value'
    ]);

    \Sentry\captureMessage('Something happened!');
});