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

595 Commits

Author SHA1 Message Date
Jordi Boggiano
a54d460500 Merge pull request #529 from rtuin/feature/extend-test-handler
Add strpos based TestHandler methods
2015-04-04 11:50:52 +01:00
Raphael Antonmattei
56dcd1a668 Added exception raised when there is a curl error. 2015-03-31 17:37:03 -04: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 01549ec4d0.
2015-03-09 09:57:01 +00:00
Pascal Borreli
a2c6c37c8d Fixed typos 2015-03-05 01:11:15 +00:00
Jordi Boggiano
4a794ed5f8 Add BC layer for the message property, refs #519 2015-03-05 00:52:15 +00:00
Jordi Boggiano
50b6a4d216 Add docs 2015-03-05 00:51:38 +00:00
Jordi Boggiano
63eb878d97 Merge remote-tracking branch 'johnkary/dynamicSwiftMessage' 2015-03-05 00:41:08 +00:00
Jordi Boggiano
4b6c798f9c Merge pull request #522 from elyobo/consistent-fluent-return-values
Return self from NativeMailerHandler::addHeader().
2015-03-04 17:56:10 +00:00
Jordi Boggiano
6469e29020 Merge pull request #521 from elyobo/additional-parameters
Allow passing additional parameters to PHP's mail().
2015-03-04 11:37:13 +00:00
John Kary
fea588c055 Swift_Message can now be customized based on logged data 2015-03-02 22:51:57 -06:00
Liam O'Boyle
c373cfbc30 Allow passing additional parameters to PHP's mail().
PHP's mail() function accepts an optional additional_parameters argument
which can be used to provide additional information, such as setting the
envelope sender, for some MTAs.  This patch allows the
NativeMailerHandler to pass these through.
2015-03-03 11:55:04 +11:00
Liam O'Boyle
42ea303cfe Return self from NativeMailerHandler::addHeader().
NativeMailerHandler::setContentType() and NativeMailerHandler::setEncoding()
both return the NativeMailerHandler object, allowing a fluent coding
style.  This fix adds the same behaviour to NativeMailerHandler::addHeader()
for so that all public non-inherited methods behave this way for
consistency.
2015-03-03 11:50:22 +11:00
Stephen Hynes
7483b1ee2e Use data.logentries.com and port 443 instead of api 2015-03-02 14:54:25 +00: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
1b34cd4d88 Rename var for clarity 2015-03-01 15:07:20 +00:00
Jordi Boggiano
995a61bec8 CS fixes 2015-03-01 14:12:35 +00:00
Christian Flothmann
f89722b570 [HipChatHandler] fix PHP types in docblocks 2015-03-01 10:19:33 +01: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
Jamie Learmonth
6f0e7f666e #493 Ensure extra and context fields are only added when they are present and not empty. Ensure both follow have consistent formatting. 2015-02-11 14:11:24 +00:00
Jamie Learmonth
01e593cdeb #493 Include context in slack extra info. 2015-02-09 22:35:23 +00:00
korchasa
01549ec4d0 Switch HipChatHandler to API v2 2015-02-03 20:39:09 +03:00
Jordi Boggiano
b18a6eff04 Merge pull request #491 from pavarnos/patch-1
Added comments about New relic High Security mode
2015-01-07 15:29:03 +00:00
Christophe Coevoet
0da47a8d93 Fix the exception message 2015-01-07 09:45:12 +01:00
Steve Pavarno
448c0b0754 Added comments about New relic High Security mode 2015-01-07 17:09:44 +13:00
Jordi Boggiano
46825bdb95 Use custom host in header as well 2014-12-30 10:13:33 +00:00
Jordi Boggiano
556c56483f Document partial log records being sent to isHandling 2014-12-29 21:28:37 +00:00
Jordi Boggiano
d7b0a0a20b Fix CS 2014-12-29 20:46:15 +00:00
Jordi Boggiano
dcfae95e6b Merge remote-tracking branch 'flowpl/add_newrelic_name_transaction' 2014-12-29 19:24:06 +00:00
Jordi Boggiano
257a1c1180 Remove unnecessary ctor init, refs #446 2014-12-29 19:15:00 +00:00
Jordi Boggiano
996e80d031 Merge remote-tracking branch 'Rvanlaak/patch-1' 2014-12-29 18:01:45 +00:00
Jordi Boggiano
9b350bb1fd Move handler checks in constructor 2014-12-28 17:31:31 +00:00
Jordi Boggiano
18bfe94053 Merge pull request #441 from ryr/master
set sentry logger
2014-12-28 17:25:38 +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
737f99cc7c Rename server to host 2014-12-28 16:47:43 +00:00
Jordi Boggiano
790d6e7926 Merge remote-tracking branch 'DerManoMann/hipchat_server' 2014-12-28 16:43:47 +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
33ebc242eb Merge remote-tracking branch 'scuben/enhanced-slack-handler' 2014-12-28 16:12:30 +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
DerManoMann
4763e09f65 Add optional server name 2014-12-24 14:23:54 +13:00
Kunal Mehta
d79400bade Add a SamplingHandler
It wraps around another handler, and only passes on some messages
based on the provided sampling handler.

This was originally written for MediaWiki: https://gerrit.wikimedia.org/r/181346
2014-12-23 12:12:54 -08:00
Florian Plattner
51ba2d9147 improved doc comments on NewRelicHandler 2014-12-18 20:56:03 +01:00
Florian Plattner
fe6e40675a removed duplicated call to newrelic_name_transaction() 2014-12-18 20:50:51 +01:00
Florian Plattner
e6e2457c55 added support for newrelic_name_transaction() to NewRelicHandler 2014-12-18 00:16:03 +01:00