1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 00:56:08 +02:00

Add IFTTTHandler to docs

This commit is contained in:
Jordi Boggiano
2015-08-09 18:44:06 +01:00
parent 419ca7ac25
commit 57dc037895
2 changed files with 7 additions and 0 deletions

View File

@@ -16,6 +16,12 @@ use Monolog\Logger;
/**
* IFTTTHandler uses cURL to trigger IFTTT Maker actions
*
* Register a secret key and trigger/event name at https://ifttt.com/maker
*
* value1 will be the channel from monolog's Logger constructor,
* value2 will be the level name (ERROR, WARNING, ..)
* value3 will be the log record's message
*
* @author Nehal Patel <nehal@nehalpatel.me>
*/
class IFTTTHandler extends AbstractProcessingHandler