Handlers for monolog to send messages via AWS
PHP
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Mcfedr/Monolog/Handler
tests/Mcfedr/Monolog/Handler
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

Monolog AWS Handlers

These handlers make it easy to send logs via amazon services

Latest Stable Version License Build Status SensioLabsInsight

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

./vendor/.bin/phpunit