2017 © Pedro Peláez
 

library laravel-logging-rollbar

Rollbar for Laravel Logging

image

xzxzyzyz/laravel-logging-rollbar

Rollbar for Laravel Logging

  • Friday, March 16, 2018
  • by xzxzyzyz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Rollbar for Laravel Logging

This package write rollbar by laravel logger., (*1)

for Laravel 5.8+

Install

Require this package with composer using the following command:, (*2)

composer require xzxzyzyz/laravel-logging-rollbar

Adding the logging driver in the config/logging.php file:, (*3)

    'channels' => [
        'stack' => [
            'driver'   => 'stack',
            'channels' => ['single', 'rollbar'],
        ],

        // ...

        'rollbar' => [
            'driver' => 'custom',
            'access_token' => env('LOG_ROLLBAR_TOKEN'),
            'via' => Xzxzyzyz\Laravel\Logging\Rollbar\RollbarLogger::class
        ],
    ]

Adding the project access token in the .env file:, (*4)

LOG_ROLLBAR_TOKEN=your post_server_item token

Adding the dont-discover package in the composer.json file:, (*5)

{
    // ...

    "extra": {
        "laravel": {
            "dont-discover": [
                "rollbar/rollbar-laravels"
            ]
        }
    }

    // ...
}

And composer autoload:, (*6)

composer dump-autoload

If this is not invalidated, the log may be registered in duplicate., (*7)

LICENSE

MIT, (*8)

The Versions

16/03 2018

dev-master

9999999-dev

Rollbar for Laravel Logging

  Sources   Download

MIT

The Requires

 

by Avatar xzxzyzyz

laravel log rollbar

16/03 2018

1.0.0

1.0.0.0

Rollbar for Laravel Logging

  Sources   Download

MIT

The Requires

 

by Avatar xzxzyzyz

laravel log rollbar