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

👁 bossit

Package info

github.com/bossit/yii2-sentry-logger

Type:extension

pkg:composer/bossit/yii2-sentry-logger

Statistics

Installs: 2 830

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.2 2020-09-18 11:44 UTC

Requires

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.