distilleries/logentries
Composer 安装命令:
composer require distilleries/logentries
包简介
README 文档
README
Laravel 5 Logentries integration
This package override the Log facade to push your log on LogEntries (https://logentries.com/).
Table of contents
Installation
Add on your composer.json
"require": { "distilleries/logentries": "1.2.*", }
run composer update.
Add Service provider to config/app.php:
'providers' => [ // ... Distilleries\Logentries\LogentriesServiceProvider::class, ]
If you want to export the configuration:
php artisan vendor:publish --provider="Distilleries\Logentries\LogentriesServiceProvider"
Basic usage
First of all you need to create an account on https://logentries.com/ After that you just have to put on your .env a token key :
LOG_ENTRIES_TOKEN=c0d59aa1-********
This package override the Log facade. Basicly if you have already use Log it's exacly the same. If you never use Log from laravel go to the official documentation https://laravel.com/docs/5.3/errors
\Log::info('Here');
统计信息
- 总下载量: 917
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-10