dev-master
9999999-dev
The Requires
v2.0.4
2.0.4.0
The Requires
dev-vendor-is-string
dev-vendor-is-string
The Requires
v2.0.3
2.0.3.0
The Requires
2.0.2
2.0.2.0
The Requires
2.0.0
2.0.0.0
The Requires
Wallogit.com
2017 © Pedro Peláez
This is a plugin for Kirby (> 3.6.1) that logs errors and exceptions to Sentry and other Sentry compatible error trackers (eg. GitLab)., (*1)
⚠️ Please Note: Kirby versions before 3.6.1 are not supported because the system.exception hook is only available
since Kirby 3.6.1., (*2)
composer require thathoff/kirby-sentry, (*3)
site/plugins directorycomposer install inside this folder to install the Sentry SDK required by the pluginThe following configuration options are available in this plugin. Add them to your site/config/config.php, (*4)
This option is required. When not set the plugin is disabled. To obtain the DSN create a new Sentry project of type PHP., (*5)
Default: null, (*6)
'thathoff.sentry.dsn' => "https://df2c6f7afc1a58783e15f2ae0118ff039d8a4755@0123456.ingest.sentry.io/123456",
You can configure an environment which is sent to Sentry. This can be eg. staging or any other string that helps you
to identify the environment the error happened in., (*7)
Tip: Use Kirby multi environment setup to change this option., (*8)
Default: 'production', (*9)
'thathoff.sentry.environment' => 'production',
When a Kirby user is logged in, the plugin sends the user’s email address and the users name to Sentry to track down errors and exceptions to users., (*10)
To disable, set this option to false., (*11)
Default: true, (*12)
'thathoff.sentry.addUserContext' => true,