Jordi Boggiano
5feb21ae1a
Fix Buffer, Group and FingersCrossed handlers to make use of their processors, fixes #170
2013-03-17 19:36:02 +01:00
Jordi Boggiano
ff45cf4afa
Merge remote-tracking branch 'kitchen/logstash-redis'
...
Conflicts:
README.mdown
2013-02-13 18:23:43 +01:00
Jordi Boggiano
52073f4589
Merge remote-tracking branch 'cbergau/master'
2013-02-13 18:11:25 +01:00
Markus Staab
6c888417b6
sanitize http headers in NativeMailerHandler to prevent injections. added tests.
2013-02-13 16:19:47 +01:00
Jeremy Kitchen
a463cdcf91
unit test for RedisHandler and README.md update
...
* updated README.md to inform users of RedisHandler
* added unit test for RedisHandler
2013-02-12 17:47:43 -08:00
ChristianB
f0ba64ad4b
Exception will be thrown if ZendMonitorHandler is instantiated without having Zend Server installed.
2013-01-31 12:16:16 +01:00
ChristianB
83b84ff818
Pass $record['formatted'] as the user parameter for zend monitor. Refactored test.
2013-01-31 10:39:11 +01:00
ChristianB
5a2a9129d4
Added test for getDefaultFormatter
2013-01-31 07:24:14 +01:00
ChristianB
a2162c1787
Override getDefaultFormatter instead of creating a formatter with 'new' in method 'write'. Using levelMap again. Refactored test.
2013-01-31 07:22:52 +01:00
ChristianB
b4b2d91c67
Refactored writeZendMonitorCustomEvent signature to provide better testability
2013-01-30 21:42:59 +01:00
ChristianB
4eb6011dc1
Use getRecord to get a record in unit test
2013-01-30 20:17:14 +01:00
ChristianB
32145bc49e
Removed testing a mock instead of the real handler
2013-01-30 19:37:42 +01:00
ChristianB
a82bac49f2
Added ZendMonitor Handler
2013-01-30 19:26:25 +01:00
Jordi Boggiano
f5cb46eefc
Fix test suite
2013-01-22 11:05:37 +01:00
Jordi Boggiano
47eb599b4a
Update tests and changelog
2013-01-11 11:23:20 +01:00
Jordi Boggiano
fb59ffe709
Merge remote-tracking branch 'msabramo/raven'
...
Conflicts:
README.mdown
composer.json
2013-01-07 20:33:40 +01:00
Jordi Boggiano
04f41cd661
CS fixes
2013-01-06 21:43:53 +01:00
Jordi Boggiano
a35401e8ce
Merge remote-tracking branch 'Sgoettschkes/PushoverHandler'
2013-01-06 21:12:35 +01:00
Jordi Boggiano
e569dfc27a
Merge remote-tracking branch 'Baachi/couchdb'
2013-01-06 20:47:53 +01:00
Jordi Boggiano
8dd213fcf1
Merge remote-tracking branch 'origin/master'
2012-12-14 12:21:55 +01:00
Jordi Boggiano
9c8db38385
CS fixes
2012-12-14 12:15:30 +01:00
Jeremy Mikola
6d3bca8543
Support MongoClient in MongoDBHandler
2012-12-13 15:17:20 -05:00
Markus Bachmann
6fedfa74ce
Merge remote-tracking branch 'upstream/master' into couchdb
2012-11-21 19:11:25 +01:00
Jordi Boggiano
bcb51e0140
Add $flushOnOverflow and refactor BufferHandler's internals, fixes #120 , fixes #104
2012-11-11 18:03:04 +01:00
Sebastian Goettschkes
cb675ae10f
Changing typo in variable name and default title for pushover message
2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
d6489bb3ae
Adding a first version of PushoverHandler
...
The PushoverHandler sends messages to api.pushover.net. The class depends on the SocketHandler
I modified the SocketHandler to make it possible to change the port for subclasses (Pushover needs the explicit port 80 to work)
The tests only see if the content sent to the api is correct. The rest should be already covered in the tests for the Sockets.
2012-09-09 15:50:31 +02:00
Markus Bachmann
e282394736
Add couchdb handler
2012-08-29 18:28:05 +02:00
David Zuelke
76fb21b31b
Allow passing of openlog() options in SyslogHandler ctor
2012-08-29 10:54:14 +02:00
Jordi Boggiano
0ce44f1526
Improve error reporting on failed streams, refs #85
2012-08-18 18:18:40 +02:00
Martin Hasoň
26adcea582
Enabled float timeouts in SocketHandler
2012-08-02 13:10:43 +02:00
Pascal Borreli
0a0c7a3a81
Removed duplicated array key
2012-07-13 11:08:09 +03:00
Jordi Boggiano
ad9d31e0f4
Fix tests
2012-06-19 22:15:23 +02:00
Jordi Boggiano
efa37359df
Merge remote-tracking branch 'pomaxa/master'
2012-06-19 21:40:04 +02:00
Jordi Boggiano
61359a972b
Merge remote-tracking branch 'FGM/master'
2012-06-19 20:28:04 +02:00
pomaxa
e5ffccd422
fix indentation
2012-06-15 17:56:19 +03:00
pomaxa
792634384a
AMQP mock object
2012-06-15 14:48:07 +03:00
pomaxa
6b4f4af85f
get issuer name from record param channel, instead of passing it through handler constructor
2012-06-15 13:18:44 +03:00
Jordi Boggiano
da33c84d07
CS fixes
2012-06-14 15:47:01 +02:00
Jordi Boggiano
1530322897
Fix test
2012-06-14 15:42:03 +02:00
pomaxa
6a86fa4444
skip test instead of throw an error
2012-06-13 17:53:55 +03:00
pomaxa
9d8b108d3c
remove notation
2012-06-13 17:51:36 +03:00
Andrew Tch
72ee0aee96
mock implemenation, kind of
2012-06-13 17:10:09 +03:00
pomaxa
a9df0f461a
test fix
2012-06-13 12:38:09 +03:00
pomaxa
a56543682d
AMQP
2012-06-13 12:07:17 +03:00
Frederic G. MARAND
07aac12c72
Implement the 8 RFC3164 severity levels instead of just 6.
...
- constants defined for the 2 missing levels: NOTICE and EMERGENCY.
- add<level>() and <level>() convenience methods added.
- TestHandler and tests updated to account for the two extra levels.
- surjective mappings from the RFC3164 to only 6 levels changes to bijective.
- README updated accordingly.
2012-05-28 20:29:27 +02:00
Marc Abramowitz
4830b92725
Curly braces on same line for try/catch, as suggested by @stof in
...
https://github.com/Seldaek/monolog/pull/76#r743295
2012-04-27 07:06:28 -07:00
Marc Abramowitz
fd4d2556f6
Refactor GelfMessageFormatterTest and GelfHandlerTest so that they don't
...
fatal error when mlehner/gelf-php is not installed.
Fixes GH-78.
2012-04-26 15:37:21 -07:00
Marc Abramowitz
44d2441782
Pull MockRavenClient (which depends on Raven_Client) out of
...
tests/Monolog/Handler/RavenHandlerTest.php into a separate file so that
the test can pass when raven-php is installed and can be skipped when
raven-php is not installed. Addresses @Stof's comment in
https://github.com/Seldaek/monolog/pull/76#r740465
2012-04-26 15:03:43 -07:00
Marc Abramowitz
6b4b2a6ac0
Change key from 'context' to 'exception' in
...
RavenHandlerTest::testException
2012-04-26 14:30:37 -07:00
Marc Abramowitz
acbf574b98
Add RavenHandler and RavenFormatter for working with Raven which is the
...
protocol used by Sentry (http://github.com/dcramer/sentry ). Uses
raven-php (https://github.com/getsentry/raven-php ).
2012-04-25 08:31:01 -07:00