1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-23 22:42:38 +01:00

120 Commits

Author SHA1 Message Date
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
Jordi Boggiano
a929570bb7 Fix json encoding, fixes #110 2012-09-05 21:32:46 +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
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
Jordi Boggiano
a6c24f983a Use non-locale aware version of the float formatter, fixes #65 2012-04-22 18:33:26 +02:00
Jordi Boggiano
5c97153efe Add array of records to MailHandler::send to allow analysis of individual records before sending email 2012-04-22 18:25:25 +02:00
Jordi Boggiano
56d246cca3 Make gelf formatter extend the normalizer one 2012-04-22 17:38:31 +02:00
Jordi Boggiano
985e682079 Merge remote-tracking branch 'mlehner/gelf' 2012-04-22 16:55:08 +02:00
Jordi Boggiano
b42da84c12 Minor CS fixes, updated changelog 2012-04-22 16:36:31 +02:00
Jordi Boggiano
5f40e7e942 Merge remote-tracking branch 'pablolb/master' 2012-04-22 16:29:23 +02:00
Jordi Boggiano
908d7734e7 Added test, updated changelog 2012-04-22 12:46:58 +02:00
Jordi Boggiano
1359f72b08 Fix up mongo db handler and add tests 2012-04-22 12:38:37 +02:00
Jordi Boggiano
0bd4d93006 Split off line formatter in normalizer + line formatters 2012-04-22 12:36:23 +02:00
Jordi Boggiano
3c4bc178cc Rename referer->referrer and server_name->server, update changelog 2012-04-22 11:26:54 +02:00
Jordi Boggiano
b4c12e9f2c Update/fix tests 2012-04-22 11:24:28 +02:00
Matt Lehner
d95889a98d code cleanups as suggested by @stof 2012-04-20 13:25:38 -04:00
Tiago Ribeiro
c8c231f177 Added referer to extra parameter 2012-04-20 16:44:33 +01:00
Matt Lehner
07338af323 test injecting a GelfMessageFormatter with constructor arguments 2012-04-17 16:25:53 -04:00
Matt Lehner
979c4655f9 created GelfMessageFormatter and related tests 2012-04-17 16:17:43 -04:00
Matt Lehner
d551f340b8 removed un-needed autoload function 2012-04-17 14:46:28 -04:00
Marc Abramowitz
bd28443b73 Test using a MockMessagePublisher 2012-04-06 08:30:26 -07:00
Marc Abramowitz
14ac76a0ae Pull in mlehner/gelf-php via Composer 2012-04-06 07:52:31 -07:00
Marc Abramowitz
c9e61750d0 Make some changes suggested by @stof in
https://github.com/Seldaek/monolog/pull/61
2012-04-06 07:00:53 -07:00
Pablo de Leon Belloc
8826a94041 Yet another CS fix on SocketHandlerTest 2012-04-01 21:11:25 -03:00
Pablo de Leon Belloc
a35db5bcdb SocketHandler: Coding standard fixes. Remove redundant test. 2012-04-01 20:43:39 -03:00
Pablo Belloc
84f4a44850 Make SocketHandlerTest PHPUnit 3.5+ compatible 2012-03-28 09:28:00 -03:00
Pablo Belloc
bee3e1bca4 Remove SocketHandler's ConnecitonException and WriteToSocketException - replace them with \UnexpectedValueException and \RuntimeException respectively 2012-03-28 08:49:25 -03:00
Pablo de Leon Belloc
83e1e2d80a Improve tests on SocketHandler 2012-02-27 12:38:06 -03:00
Pablo Belloc
722cabc535 Remove old SocketTest. Fix CS issues 2012-02-26 14:17:19 -03:00
Pablo Belloc
d752f435b5 Remove Socket, PeristentSocket and MockSocket classes 2012-02-26 11:45:10 -03:00
Pablo Belloc
423cfebf94 Add license header and move @author to phpdoc 2012-02-25 23:36:07 -03:00
Pablo Belloc
486cbb78ab Initial version 2012-02-25 20:37:04 -03:00
Jordi Boggiano
8d4ac5c0f7 Rename ChromePhp to ChromePHP for consistency with FirePHP 2012-02-20 17:35:45 +01:00