alexeevdv/yii2-log-slack
Composer 安装命令:
composer require alexeevdv/yii2-log-slack
包简介
README 文档
README
Sends log messages to Slack webhook.
Installation
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require alexeevdv/yii2-log-slack "^1.0"
or add
"alexeevdv/yii2-log-slack": "^1.0"
to the require section of your composer.json file.
Configuration
Through application component
//... 'components' => [ //... 'log' => [ //... 'targets' => [ //... [ 'class' => alexeevdv\log\SlackTarget::class, 'webhook' => 'https://your_webhook_link', // other optional params goes here ], //... ], //.. ], //... ], //...
Supported params:
For the list of supported params please refer to https://github.com/maknz/slack
统计信息
- 总下载量: 5.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-20