Markus Staab
7ca003e6ae
Rename TestCase to MonologTestCase ( #1953 )
2025-03-16 13:30:20 +01:00
Jan-Eric Ortgies
709cb93aa6
replace deprecated method calls in GelfMessageFormatter ( #1664 )
...
- the getter/setter methods for file, level and facility are deprecated in gelf v1.1
- add those fields as additional instead, as suggested in the gelf spec (https://docs.graylog.org/v1/docs/gelf#gelf-payload-specification )
- update tests to reflect changes
2022-05-08 23:13:55 +02:00
Jordi Boggiano
2d006a8472
Convert level/levelName to enums ( #1656 )
2022-04-19 21:49:03 +02:00
Jordi Boggiano
5eb9b8ed93
Code cleanups
2022-03-21 14:18:54 +01:00
Jordi Boggiano
400effdd45
Fix some issues, bump phpunit version
2022-03-21 14:18:54 +01:00
Victor Pryazhnikov
cdba0c5693
Deprecated setMethods() usages moving to onlyMethods()
2021-02-27 14:47:59 +03:00
Mario Blažek
37900f9268
Upgrade PHPUnit to v8
2019-08-12 15:20:00 +02:00
Jordi Boggiano
28742b656f
Undo this LocalSocket fiasco, fix tests for latest phpunit
2016-09-25 16:07:01 +02:00
Jordi Boggiano
c6a9f28e24
Fix a ton of tests for latest phpunit and turn faked-stream tests into real network tests with a local server
2016-09-19 18:20:42 +02:00
Jordi Boggiano
21dde4dedb
Move to strict mode and fix tests
2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879
CS fixes
2016-05-26 20:54:06 +01:00
Jordi Boggiano
d7b415c2c8
Make TestCase class available to dependents to help with testing
2016-05-20 20:09:02 +01:00
Jordi Boggiano
b738a6c04c
CS fixes
2014-10-17 19:12:45 +01:00
Jordi Boggiano
392ef35fd4
CS fixes
2014-03-23 20:50:26 +01:00
Jordi Boggiano
6b81ac8153
CS fixes, refs #326
2014-02-23 16:06:45 +01:00
Benjamin Zikarsky
c8289fd654
Updated GelfHandler/GelfFormatter
...
Changes monolog to use the updated official graylog2/gelf-php
2013-12-28 18:57:39 +01:00
Jordi Boggiano
47eb599b4a
Update tests and changelog
2013-01-11 11:23:20 +01:00
Jordi Boggiano
da33c84d07
CS fixes
2012-06-14 15:47:01 +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
56d246cca3
Make gelf formatter extend the normalizer one
2012-04-22 17:38:31 +02:00
Matt Lehner
d95889a98d
code cleanups as suggested by @stof
2012-04-20 13:25:38 -04: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