Skip to content

czim/laravel-json-context-logging

Repository files navigation

Latest Version on Packagist Software License Build Status Coverage Status

JSON Context Logging for Laravel

Wrapper package to make use of czim/monolog-json-context in Laravel applications.

The aim of this package is to easily set up (separate) logging to be easily grokkable by Logstash.

Version Compatibility

Laravel Package
5.8 and below 0.9
6.0 and up 1.0
9.0 2.0
10.0 3.0

Changelog

View the changelog.

Installation

Via Composer:

$ composer require czim/laravel-json-context-logging

Publish the configuration file:

php artisan vendor:publish --provider="Czim\LaravelJsonContextLogging\Providers\JsonContextLoggingServiceProvider"

Credits

License

The MIT License (MIT). Please see License File for more information.