1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 23:54:04 +02:00

Wrap up flowdock handler, refs #337

This commit is contained in:
Jordi Boggiano
2014-03-23 18:53:19 +01:00
parent 798ee32294
commit 26d96f1022
3 changed files with 10 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ Handlers
- _SwiftMailerHandler_: Sends emails using a [`Swift_Mailer`](http://swiftmailer.org/) instance.
- _PushoverHandler_: Sends mobile notifications via the [Pushover](https://www.pushover.net/) API.
- _HipChatHandler_: Logs records to a [HipChat](http://hipchat.com) chat room using its API.
- _FlowdockHandler_: Logs records to a [Flowdock](https://www.flowdock.com/) account.
### Log specific servers and networked logging

View File

@@ -16,6 +16,8 @@ use Monolog\Logger;
/**
* Sends notifications through the Flowdock push API
*
* This must be configured with a FlowdockFormatter instance via setFormatter()
*
* Notes:
* API token - Flowdock API token
*

View File

@@ -31,6 +31,13 @@ class FlowdockHandlerTest extends TestCase
*/
private $handler;
public function setUp()
{
if (!extension_loaded('openssl')) {
$this->markTestSkipped('This test requires openssl to run');
}
}
public function testWriteHeader()
{
$this->createHandler();