A laravel service provider for logging.
triadev/laravel-logger-provider is a Laravel package for a laravel service provider for logging..
It currently has 0 GitHub stars and 199 downloads on Packagist (latest version v1.2.2).
Install it with composer require triadev/laravel-logger-provider.
Discover more Laravel packages by triadev
or browse all Laravel packages to compare alternatives.
Last updated
A laravel and lumen service provider for logging.
composer require triadev/laravel-logger-provider
Register the service provider in the config/app.php (Laravel) or in the bootstrap/app.php (Lumen).
'providers' => [
\Triadev\Logger\Provider\LoggerServiceProvider::class
]
Once installed you can now publish your config file and set your correct configuration for using the package.
php artisan vendor:publish --provider="Triadev\Logger\Provider\LoggerServiceProvider" --tag="config"
This will create a file config/sc-logger.php.
| Key | Value | Description | |:-------------:|:-------------:|:-----:| | LOG_TYPE | STRING | stream or logstash | | LOG_STREAM | STRING | php://stdout, ... | | LOG_LEVEL | STRING | debug,error, ... |
If you do find an issue, please feel free to report it with GitHub's bug tracker for this project.
Alternatively, fork the project and make a pull request. :)
The code for LaravelLoggerProvider is distributed under the terms of the MIT license (see LICENSE).