Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcfedr/monolog-aws
Handlers for monolog to send messages via AWS
https://github.com/mcfedr/monolog-aws
Last synced: 2 months ago
JSON representation
Handlers for monolog to send messages via AWS
- Host: GitHub
- URL: https://github.com/mcfedr/monolog-aws
- Owner: mcfedr
- License: mit
- Created: 2012-07-27T17:32:13.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:20:46.000Z (over 1 year ago)
- Last Synced: 2024-10-11T13:13:23.242Z (3 months ago)
- Language: PHP
- Size: 97.7 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Monolog AWS Handlers
These handlers make it easy to send logs via amazon services
[![Latest Stable Version](https://poser.pugx.org/mcfedr/monolog-aws/v/stable.png)](https://packagist.org/packages/mcfedr/monolog-aws)
[![License](https://poser.pugx.org/mcfedr/monolog-aws/license.png)](https://packagist.org/packages/mcfedr/monolog-aws)
[![Build Status](https://travis-ci.org/mcfedr/monolog-aws.svg?branch=master)](https://travis-ci.org/mcfedr/monolog-aws)## Usage
### Amazon SES
A mail handler that sends its messages via SES.
It replicates the interface of the other mail handlers. I recommend using it with a `BufferHandler`.### Amazon SNS
A logger handler mosts messages using the SNS - publish/subscribe service.
Simply specify the topic ans and have your log sent to you via email, sms or however you need.
Note that messages are trimmed to 8KB, in case you are trying to log really long stack traces or something.
If you use a region other than US_EAST you will need to do setRegion on the Handler.## Tests
To run the tests
```bash
./vendor/.bin/phpunit
```