distilleries / logentries
1.3.0
2016-12-29 13:03 UTC
Requires
- php: >=5.6.4
- illuminate/log: ^5.3
- logentries/logentries: ^1.6
Requires (Dev)
- mockery/mockery: 0.9.*
- orchestra/testbench: 3.3.*
- phpunit/phpunit: ~4.5
This package is auto-updated.
Last update: 2024-10-23 07:17:59 UTC
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');