This package override the Log facade to push your log on LogEntries (https://logentries.com/).
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"
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');