A Papertrail log stack for Laravel 5.6 applications.
Note: Laravel added a native Papertrail logging channel in version 5.7, so if you are running Laravel 5.7+ this package is unnecessary.
PAPERTRAIL_HOST
and PAPERTRAIL_PORT
.composer require martinbean/laravel-papertrail
'papertrail' => [
'driver' => 'papertrail',
'level' => 'debug', // Or other desired level
],
Once configured, you can add papertrail
to the stack
channel (if you’re
using it) and any logs will be pushed to your Papertrail account.
Note: The PAPERTRAIL_HOST
environment variable should be the full
Papertrail hostname, i.e. logs0.papertrailapp.com.
Open a new Issue
on the GitHub repository.
Licensed under the MIT License.