Download the PHP package enklare-development/laravel-gelf-logger without Composer
On this page you can find all versions of the php package enklare-development/laravel-gelf-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download enklare-development/laravel-gelf-logger
More information about enklare-development/laravel-gelf-logger
Files in enklare-development/laravel-gelf-logger
Package laravel-gelf-logger
Short Description Fork of the hedii/laravel-gelf-logger project with extended support for HttpTransport
License MIT
Homepage https://www.enklare.se
Informations about the package laravel-gelf-logger
Readme
Fork of the hedii/laravel-gelf-logger project with support for HttpTransport.
Links to original project:
- Github: https://github.com/hedii/laravel-gelf-logger
- Packagist: https://packagist.org/packages/hedii/laravel-gelf-logger
This projects packagist page
https://packagist.org/packages/enklare-development/laravel-gelf-logger
Laravel Gelf Logger
A package to send gelf logs to a gelf compatible backend like graylog. It is a Laravel wrapper for bzikarsky/gelf-php package.
It uses the new Laravel custom log channel introduced in Laravel 5.6.
A gelf receiver like graylog2 must be configured to receive messages with a GELF UDP or TCP Input.
Table of contents
- Table of contents
- Installation
- Usage
- Example
- Testing
- License
Installation
Install via composer
Edit config/logging.php
to add the new gelf
log channel.
Usage
Once you have modified the Laravel logging configuration, you can use the gelf log channel as any Laravel log channel.
Examples
Testing
License
laravel-gelf-logger is released under the MIT Licence. See the bundled LICENSE file for details.