omatech/laravel-monolog-ext is a Laravel package for extension monolog logging.
It currently has 2 GitHub stars and 620 downloads on Packagist (latest version 1.3.2).
Install it with composer require omatech/laravel-monolog-ext.
Discover more Laravel packages by omatech
or browse all Laravel packages to compare alternatives.
Last updated
This package is to send logs of Laravel framework, to different services, now only you can send to CloudWatch.
You can install the package via composer:
composer require omatech/laravel-monolog-ext
CloudWatch:
First you need to configurate credentials and region settings AWS ( see: aws/aws-sdk-php-laravel ).
In bootstrap\app.php, you need to add this:
$app->configureMonologUsing(function ($monolog) {
$logger = App::make(MonologLogging::class);
$logger->pushHandler($monolog);
});
If you want to add another service, you need to publish the config file.
php artisan vendor:publish --provider="Omatech\LaravelMonologExt\LaravelMonologExtServiceProvider"
The settings can be found in the generated config/laravel-monolog-ext.php configuration file..
Now you have two options:
You need to put true this enviroments if you want to use.
###CloudWatch
###File
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.