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:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
*
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user