2017 © Pedro Peláez
 

library laravel-papertrail

A Papertrail log channel for Laravel applications.

image

martinbean/laravel-papertrail

A Papertrail log channel for Laravel applications.

  • Tuesday, April 24, 2018
  • by martinbean
  • Repository
  • 0 Watchers
  • 0 Stars
  • 78 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 59 % Grown

The README.md

Laravel Papertrail log channel

Requirements

  • Your application must be running Laravel 5.6.

Note: Laravel added a native Papertrail logging channel in version 5.7, so if you are running Laravel 5.7+ this package is unnecessary., (*1)

Installation

  1. Set two environment variables: PAPERTRAIL_HOST and PAPERTRAIL_PORT.
  2. Run composer require martinbean/laravel-papertrail
  3. Open config/logging.php and add the following channel:
'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., (*2)

Note: The PAPERTRAIL_HOST environment variable should be the full Papertrail hostname, i.e. logs0.papertrailapp.com., (*3)

Issues

Open a new Issue on the GitHub repository., (*4)

License

Licensed under the MIT License., (*5)

The Versions

24/04 2018

dev-master

9999999-dev

A Papertrail log channel for Laravel applications.

  Sources   Download

MIT

The Requires

 

laravel log logging monolog papertrail

24/04 2018

1.0.0

1.0.0.0

A Papertrail log channel for Laravel applications.

  Sources   Download

MIT

The Requires

 

laravel log logging monolog papertrail