1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00
Commit Graph

304 Commits

Author SHA1 Message Date
Jordi Boggiano
0c45c9b3d4 Merge pull request #740 from macintoshplus/macintoshplus-fix-content-type
Fix content_type for AMQP Message
2016-03-10 12:37:00 +01:00
Jordi Boggiano
3d04bc8410 Merge branch '1.x' 2016-03-09 11:43:06 +00:00
Jordi Boggiano
81045d5974 Fix tests 2016-03-09 11:43:02 +00:00
Jean-Baptiste Nahan
bbf96aae0f Update AmqpHandlerTest.php 2016-03-08 13:26:16 +01:00
Jordi Boggiano
f1091c3b97 CS fixes 2016-03-01 18:12:45 +00:00
Jordi Boggiano
3d30ba5ecc Add some return type hints and fix up HandlerWrapper 2016-03-01 17:35:54 +00:00
Jordi Boggiano
ba995ffd1e Merge branch '1.x' 2016-03-01 17:15:43 +00:00
Alexey Karapetov
c688ff17eb HandlerWrapper 2016-03-01 15:59:22 +00:00
Grégoire Paris
f1a59c5e0f add release number to every log
This adds an internal release number to the raven handler. The release
number is added to what is sent to sentry unless something already is
present because a release number was sent via "context" or "extra".
2016-01-23 23:00:37 +01:00
Jeremy Mikola
aa6ab660bd MongoDBHandler only supports ext-mongodb and mongodb/mongodb
The legacy driver (i.e. ext-mongo) is not supported on PHP 7, so there is no reason to leave behind its supporting code.
2016-01-21 15:58:45 -05:00
Will Banfield
f6a9fdbb2c Add case for if manager is passed in 2016-01-21 14:19:35 -05:00
Dmitriy Garanzha
e2a77060da Raven client fingerprint support 2016-01-20 11:39:44 +02:00
Jordi Boggiano
6c424f851c Add a lot more scalar types and go strict in Logger 2015-12-18 17:48:48 +00:00
Jordi Boggiano
b5b773e12f Fix naming conflicts in PhpConsoleHandler 2015-12-18 17:48:45 +00:00
Jordi Boggiano
902c0c8694 Split interfaces and base/abstract classes into more sensible pieces 2015-12-18 17:48:40 +00:00
Jordi Boggiano
39f8a20e6d Remove non-PSR-3 methods for adding log records 2015-12-18 17:48:38 +00:00
Sam Reed
e5bb0bf98a Remove excess parameter from createHandler
It only takes 3 parameters
2015-11-20 14:43:25 +00:00
Jordi Boggiano
0880801b4a Merge pull request #686 from apfelbox/hipchat-from
[HipChatHandler] Always send the "from" name
2015-11-18 17:12:52 +00:00
Jordi Boggiano
c889fb2648 CS fixes & upgrading cs fixer config 2015-11-18 17:09:46 +00:00
Jannik Zschiesche
538349c4c4 Fixed HipChat tests 2015-11-18 10:25:09 +01:00
Elan Ruusamäe
2e03107b56 add tests for NativeMailerHandler 2015-11-09 19:26:58 +02:00
Danilo Silva
6f19ba38ad added a test on writingTimeout setter and getter methods 2015-10-19 12:21:41 +02:00
Danilo Silva
5c129a7f7f Avoid infinite loops when no data is written on a socket for a time greater than writingTimeout settings 2015-10-19 12:02:32 +02:00
Jordi Boggiano
5405308eb1 Fix raven tests 2015-10-09 18:21:34 +01:00
François-Xavier de Guillebon
f24867ad06 Fixed undeclared properties 2015-09-17 14:33:27 +02:00
Aleksei Shmelev
aaa2854b10 SwiftMailerHandler bugfix.
Added generating unique id when building message and test.
2015-09-14 16:37:30 +03:00
jeroendedauw
e915a18c73 Remove not needed FQNs 2015-09-03 19:10:55 +02:00
Tomasz Wójcik
762361fff9 RavenHandler supports extra parameters 2015-08-16 11:13:32 +02:00
Tomasz Wójcik
4551b8c63b RavenHandler handles custom checksums 2015-08-15 17:58:48 +02:00
Jordi Boggiano
3dccef613e Make sure handlers can be closed multiple times 2015-08-09 17:29:31 +01:00
Jordi Boggiano
ca1376bd61 CS fixes 2015-07-14 10:26:05 +01:00
Matt Wells
12711d133a Switch back to using rpush
Switches back to rpush to keep list order consistent with non capped
collections
2015-07-13 19:40:51 +01:00
Matt Wells
4d59281868 Fixes 5.3 compatibility in test cases 2015-07-12 19:21:53 +01:00
Matt Wells
050694291e Adds ability to cap log size in redis
100% backward compatible, defaults to not capping collection size.

Additional constructor param of $capSize added which will ensure logs
list is treated as a FILO queue

Test coverage on new functionality
2015-07-12 17:26:16 +01:00
Jordi Boggiano
2dc16dd802 Avoid issues with ErrorHandler being used in test suite 2015-07-12 11:54:49 +01:00
Jordi Boggiano
b09370b13a Skip invalid windows tests 2015-07-12 11:24:20 +01:00
Dominik Zogg
fe12c5278f stream handler creates a directory if its possible 2015-07-05 12:09:12 +00:00
Austin Hyde
f2fea2c3f5 Add TestHandler::hasRecordThatMatches($regex, $level) 2015-06-20 19:41:52 -04:00
Austin Hyde
3e8f0ecb36 Replace boilerplate with magic methods 2015-06-20 19:39:06 -04:00
Austin Hyde
29da1d8e77 Add a message to assertions to know which ones fail 2015-06-20 19:14:33 -04:00
Jordi Boggiano
0c3d2082ad Merge pull request #526 from esalter/master
Add Hipchat V2 support
2015-06-19 11:46:55 +01:00
Roberto Araujo
d8e7f9debf Fix HipChatHandler tests 2015-06-12 16:52:46 -03:00
Jordi Boggiano
8dbc563310 Merge pull request #541 from smazurov/patch-2
made raven user context less destructive
2015-06-01 22:06:43 +01:00
Reinier Kip
162c30768d Allow PSR-3 passthru level in FingersCrossedHandler. 2015-05-11 13:26:40 +02:00
Jordi Boggiano
e968bd36e5 Merge pull request #553 from JeroenDeDauw/AmqpHandlerTest
Remove unused import in AmqpHandlerTest
2015-05-05 18:13:34 +01:00
jeroendedauw
f8f6615887 Remopve dead varialble
This makes it more obvious that this test is not actually doing much
2015-04-27 01:53:56 +02:00
jeroendedauw
c4c7133a6d Remove unused import in AmqpHandlerTest 2015-04-27 01:50:40 +02:00
Jordi Boggiano
6d10786e82 Merge pull request #533 from barbushin/php-console-handler
Add PHPConsoleHandler to debug in Google Chrome
2015-04-23 15:19:59 +01:00
Stepan Mazurov
09be78d62a made raven user context less destructive 2015-04-13 22:02:07 -06:00
barbushin
cd90150c24 Add PHPConsoleHandler to debug in Google Chrome
Integrates Monolog with very popular Google Chrome extension "PHP Console" https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef and server library https://github.com/barbushin/php-console. PHPConsoleHandler and "PHP Console" server library code are 100% covered by tests.
2015-03-30 23:47:09 +08:00