exolnet/laravel-log

This package is abandoned and no longer maintained. No replacement package was suggested.

This package extends Laravel’s log package to configure a Monolog driver

v3.3.0 2020-01-24 13:39 UTC

This package is auto-updated.

Last update: 2021-01-31 00:45:13 UTC


README

Latest Stable Version Software License Build Status Total Downloads

This package extends Laravel’s log package to configure a Monolog driver. As of Laravel 5.6, this package is not required anymore since it’s now natively supported by Laravel.

Installation

  1. Require this package with composer:

    composer require exolnet/laravel-log
    
  2. If you don't use package auto-discovery, add the service provider to the providers array in config/app.php:

    Exolnet\Log\LogServiceProvider::class
    
  3. Add your Monolog host to your .env:

    LOG_MONOLOG_HOST=localhost
    

Usage

When this package is installed and configured, all Laravel exceptions will be forwarded to your Monolog installation.

To ensure that the setup is working properly, trigger an exception and verify that the error was received.

Testing

To run the phpUnit tests, please use:

composer test

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Security

If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.

Credits

License

This code is licensed under the MIT license. Please see the license file for more information.