bossit/yii2-sentry-logger
There is no license information available for the latest version (1.0.2) of this package.
Yii2 SDK for Sentry (https://sentry.io)
Maintainers
Package info
github.com/bossit/yii2-sentry-logger
Type:extension
pkg:composer/bossit/yii2-sentry-logger
1.0.2
2020-09-18 11:44 UTC
Requires
- php: ^7.1
- sentry/sdk: ^2.0
- yiisoft/yii2: ~2.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Unknown License 8f28d96cb2b32c35d8c16c0e2c869a038be3b82f
logloggingsentryyii2error-handlererror-monitoringcrash-reportingcrash-reports
This package is auto-updated.
Last update: 2026-06-19 00:08:58 UTC
README
👁 Latest Stable Version
👁 Build Status
👁 Total Downloads
Install
The preferred way to install this component is through composer.
$ composer require bossit/yii2-sentry-logger:^1.0
Usage
The preferred way is to setup the components into our Application's configuration array:
'log' => [ 'traceLevel' => YII_DEBUG ? 3 : 0, 'targets' => [ [ 'class' => SentryTarget::class, 'dsn' => '_YOUR_KEY_', 'levels' => ['error', 'warning'], 'logVars' => [], 'except' => [ 'yii\web\HttpException:404', ], ], ], ],
That's it, you are ready to use it as Yii2 components.
