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
Henrique Moody
5d3f6de972
Use autoload-dev
setting on "composer.json" file
...
This also removes "tests/bootstrap.php" file and defines `date.timezone`
in "phpunit.xml.dist".
2015-06-04 11:29:03 -03:00
Jordi Boggiano
131b27d113
Update test for 5.4/5.3
2015-06-01 22:33:28 +01: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
Jordi Boggiano
1a1f506f0e
Fix up #546 to json serialize correctly
2015-06-01 21:42:42 +01:00
Jordi Boggiano
cbf17236e6
Merge remote-tracking branch 'draev/patch-1'
2015-06-01 21:32:03 +01:00
Jordi Boggiano
8c4b1be4a2
Change Logger::setTimezone to accept a DateTimeZone object, refs #566
2015-06-01 21:15:07 +01:00
Bryan Davis
5d7db08106
Add Logger::setTimezone()
...
Add a setter method to allow changing the timezone used when creating
new log records. This provides a means to correct a behavioral change
introduced by 6cbdc04 where use of the PHP runtime default timezone
provided by `date_default_timezone_get()` was introduced. In most
environments the new default behavior is preferable, but if an
application allows the default timezone to vary between requests it
causes confusing log output.
2015-05-20 22:05:03 -06: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
Jordi Boggiano
1065abe1f7
Merge pull request #552 from JeroenDeDauw/deadvar
...
Remove dead varialble
2015-04-30 18:29:05 +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
Reda Bouchaala
2cb4a57490
Removed Logger::toMonologLevel() code duplication and added relevant tests
2015-04-25 19:42:19 +01:00
Dmitrii Raev
b1f2e2f5ec
Change Test.. но __toString method called..
2015-04-23 23:54:00 +03: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
Richard Tuin
b63e013827
Add strpos based TestHandler methods
2015-03-18 07:34:38 +01:00
Eric Salter
6e8c4a149c
Remove setVersion() method
...
Removed per request
2015-03-10 13:54:29 -04:00
Eric Salter
f28d94f6a6
Add Hipchat V2 support
...
Adds support for Hipchat's V2 API by way of setting the version flag. V1 paths
should remain unchanged. A setVersion() method is provided for convenience in case
one does not want to override all of the default parameters.
2015-03-10 11:06:13 -04:00
Jordi Boggiano
d809f576bb
Revert "Switch HipChatHandler to API v2", fixes #525
...
This reverts commit 01549ec4d05e2d3f33227531d9fc9454d5ef6049.
2015-03-09 09:57:01 +00:00
Pascal Borreli
a2c6c37c8d
Fixed typos
2015-03-05 01:11:15 +00:00
Jordi Boggiano
d434bb4794
Add INF/NaN normalization, fixes #523
2015-03-05 00:57:49 +00:00
John Kary
fea588c055
Swift_Message can now be customized based on logged data
2015-03-02 22:51:57 -06:00
John Kary
f5eaeeb144
Swift_Message creation is now lazy when using callback
...
Swift_Message object is not created until right before the message is
sent, if it is sent at all. This prevents the expensive Swift_Mailer
autoloader from being invoked.
Swift_Mailer is now also required to run test suite
2015-03-01 20:03:39 -06:00
Jordi Boggiano
995a61bec8
CS fixes
2015-03-01 14:12:35 +00:00
Jordi Boggiano
5cd99de56d
Accept incomplete records in GelfMessageFormatter, closes #482
2015-03-01 13:59:22 +00:00
Jordi Boggiano
d0e5a69331
Merge pull request #504 from korchasa/master
...
Switch HipChatHandler to API v2
2015-02-28 21:41:06 +00:00
Stepan Mazurov
c1fd9cddf2
Added overwriting of user context to RavenHandler
2015-02-27 16:43:19 -07:00
Jordi Boggiano
ab3d7c4898
Remove useless functional test
2015-02-25 16:48:51 +00:00
dtarasov
ad5d65b262
#508 add hasLogger method to Monolog\Registry
2015-02-18 11:56:56 +03:00
korchasa
01549ec4d0
Switch HipChatHandler to API v2
2015-02-03 20:39:09 +03:00
John Kary
6c1836467c
Restore ability to continue using mlehner/gelf-php in test
...
Was previously broken by a coding standard commit 392ef35fd470638e08d0160d6b1cbab63cb23174
2015-01-20 00:08:01 -06:00
louis
2ae33f7382
bugfix: use custom hipchat server in buildHeader method
2014-12-30 11:31:36 +01:00
Jordi Boggiano
d7b0a0a20b
Fix CS
2014-12-29 20:46:15 +00:00
Jordi Boggiano
5ce2b38b3b
Fixing tests and CS, refs #468
2014-12-29 20:45:41 +00:00
Jordi Boggiano
ad4f488bc0
Merge remote-tracking branch 'flowpl/master'
2014-12-29 20:37:12 +00:00
Florian Plattner
04648dba78
some cleanup
2014-12-29 20:38:08 +01:00
Jordi Boggiano
dcfae95e6b
Merge remote-tracking branch 'flowpl/add_newrelic_name_transaction'
2014-12-29 19:24:06 +00:00
Jordi Boggiano
8160b302a2
Bring sampling handler in line with other wrapper handlers
2014-12-28 17:05:54 +00:00
Jordi Boggiano
45f5c7d2d1
Merge remote-tracking branch 'legoktm/sampling'
2014-12-28 16:55:04 +00:00
Jordi Boggiano
10a3bfa930
Merge pull request #440 from mikesherov/exceptionCodes
...
Adds exception codes to the exception data in NormalizeFormatter
2014-12-28 16:40:10 +00:00
Jordi Boggiano
27f2ab89a8
Merge pull request #472 from danmichaelo/master
...
SyslogUdpHandler: Send a valid rfc5424 version
2014-12-28 16:29:00 +00:00
Jordi Boggiano
3e1b8a7afe
Remove code duplication, refs #435
2014-12-28 16:28:20 +00:00
Jordi Boggiano
515a096c86
Prevent header injection through content type / encoding in NativeMailerHandler, fixes #458 , closes #448
2014-12-28 14:32:10 +00:00