tatarko/yii-sentry
最新稳定版本:v1.0.1
Composer 安装命令:
composer require tatarko/yii-sentry
包简介
Layer for Yii framework for communication with Sentry logging API
README 文档
README
Layer for Yii framework for communication with Sentry logging API
Installation
Yii Sentry is composer library so you can install the latest version with:
php composer.phar require tatarko/yii-sentry
Configuration
To your application's config add following:
'components' => array( 'log' => array( 'class' => 'CLogRouter', 'routes' => array( // your other log routers array( 'class' => 'Tatarko\\YiiSentry\\LogRoute', 'levels' => 'error,warning', // 'enabled' => !YII_DEBUG, ), ), ), 'sentry' => array( 'class' => 'Tatarko\\YiiSentry\\Client', 'dsn' => '', // Your's DSN from Sentry ), )
统计信息
- 总下载量: 4.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-28