bossit/yii2-sentry-logger
Composer 安装命令:
composer require bossit/yii2-sentry-logger
包简介
Yii2 SDK for Sentry (https://sentry.io)
关键字:
README 文档
README
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.
统计信息
- 总下载量: 2.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-09-18