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
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
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
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
Christophe Coevoet
e3e2bb2f4f
Added a ChromePhpHandler.
...
Closes #56
2012-02-20 00:21:53 +01:00
Christophe Coevoet
8c094aa3b3
Changed the tests for the abstract handlers to use a mock instead of the TestHandler
2011-08-29 15:00:42 +02:00
Kirill chEbba Chebunin
505f9b3481
Make FirePHPHandlerTest independent from WildfireFormatter
2011-08-03 00:11:08 +04:00
Jordi Boggiano
66c1cc05a8
More testing coverage
2011-06-29 21:32:02 +02:00
Jordi Boggiano
7a56a1c73f
Tested the TestHandler (WTF)
2011-06-29 20:38:40 +02:00
Jordi Boggiano
8108272c6c
Added @covers annotations to everything
2011-06-29 20:23:08 +02:00
Jordi Boggiano
61d5a23e41
More test coverage of handlers/formatters
2011-06-29 19:24:29 +02:00
Jordi Boggiano
8492eb74b3
Merge pull request #33 from stof/rich_logging
...
Rich logging
2011-06-17 05:08:45 -07:00
Jordi Boggiano
ff6d7fce5c
Adjusted tests
2011-06-10 16:07:53 +02:00
Christophe Coevoet
e9f3e0c2d7
Moved the channel as label on the FirePHP message for a better formatting
2011-06-01 00:43:09 +02:00
Christophe Coevoet
c1675c59d8
Added the support of a logging context
2011-06-01 00:10:38 +02:00
Jordi Boggiano
1defa7857f
Fixed plugin protocol uri for FirePHPHandler, closes #25
2011-05-16 22:50:16 +02:00