intothesource/powerlogger
Composer 安装命令:
composer require intothesource/powerlogger
包简介
Powerlogger for our laravel CMS
README 文档
README
Laravel Powerlogger, logs errors to Slack
Install
composer require intothesource/powerlogger
After install
ServiceProvider
Add the following line to "config/app.php"
at "providers":
IntoTheSource\Powerlogger\PowerloggerServiceProvider::class,
Creating the config file
Run the following command:
php artisan vendor:publish
Edit the config file
Edit the config file: config/powerlogger.php
<?php return [ 'customer' => 'Customer Name', // Customer name eg. Into The Source 'domain' => 'test.dev', // FQDN eg intothesource.com 'slack' => 'AAA/BBB/123' // Slack key ];
Error handling
Add the following line in the 'report' method in the file app\Exceptions\Handler.php
\IntoTheSource\Powerlogger\Handle::init($e);
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2
- 更新时间: 2016-05-24