Download the PHP package omatech/laravel-monolog-ext without Composer
On this page you can find all versions of the php package omatech/laravel-monolog-ext. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download omatech/laravel-monolog-ext
More information about omatech/laravel-monolog-ext
Files in omatech/laravel-monolog-ext
Package laravel-monolog-ext
Short Description Extension Monolog Logging
License MIT
Homepage https://github.com/omatech/laravel-monolog-ext
Informations about the package laravel-monolog-ext
Laravel Monolog Extension
This package is to send logs of Laravel framework, to different services, now only you can send to CloudWatch.
Installation
You can install the package via composer:
Usage
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:
If you want to add another service, you need to publish the config file.
The settings can be found in the generated config/laravel-monolog-ext.php configuration file..
Now you have two options:
- APP_LOG_DRIVER_AWS
- APP_LOG_DRIVER_FILE
You need to put true this enviroments if you want to use.
CloudWatch
- APP_LOG_DRIVER_AWS: true / false
- APP_LOG_DRIVER_AWS_GROUP: string
- APP_LOG_LEVEL: same options of log level monologging. default: debug
- APP_LOG_RETENTION: days. default: 140
File
- APP_LOG_LEVEL: same options of log level monologging. default: debug
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Cesc Delgado
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-monolog-ext with dependencies
illuminate/support Version 5.5.*
aws/aws-sdk-php-laravel Version ^3.3
maxbanton/cwh Version ^1.1