1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 07:06:40 +02:00

354 Commits

Author SHA1 Message Date
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
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
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
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 392ef35fd4
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
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
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
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
e6e2457c55 added support for newrelic_name_transaction() to NewRelicHandler 2014-12-18 00:16:03 +01:00
Jordi Boggiano
5bee6fe56c Fix syslog transport to follow the spec closer, fixes #476 2014-12-17 10:47:08 +00:00
Dan Michael O. Heggø
04094e5d99 SyslogUdpHandler: Send a valid rfc5424 version
https://tools.ietf.org/html/rfc5424#section-6.2.2
2014-12-11 00:25:16 +01:00
Jordi Boggiano
f835cd21e4 Make 5.3 compliant and faster call to wrapped logger, refs #437 2014-10-21 10:22:09 +01:00
Michael Moussa
979be11760 Added PsrHandler
This handler allows applications introducing Monolog to continue using
their existing PSR-3 compliant logger(s) in conjunction with the various
Monolog handlers available.
2014-10-20 23:27:55 -04:00
Jordi Boggiano
b738a6c04c CS fixes 2014-10-17 19:12:45 +01:00
Jordi Boggiano
940cbe15ab Move the class off in the tests 2014-10-04 16:43:06 +01:00
Jordi Boggiano
1e47b2788a Merge pull request #430 from moderndeveloperllc/master
NewRelicHandler: Account for arrays sent in context and extra parameters
2014-10-04 12:53:35 +01:00
Mark Garrett
bc2d882967 Account for context and extra params that are sent as arrays (GitProcessor for one). New __construct param is optional and set to false to emulate current feature set. 2014-09-30 16:42:07 -05:00
Jordi Boggiano
d2ec7648d0 Move iconEmoji param upfront since Slack was never in a stable release 2014-09-30 14:28:08 +01:00
Jordi Boggiano
31358c858f Add missing license headers 2014-09-30 14:24:28 +01:00
Jordi Boggiano
feb19af2d4 Add support for PSR-3 levels to all public APIs accepting levels, fixes #421 2014-09-30 13:59:45 +01:00
Jordi Boggiano
0d09e2f8a0 Merge pull request #426 from acdameli/master
New Handler: WhatFailureGroupHandler
2014-09-30 11:56:29 +01:00
Jordi Boggiano
75afd5946d Merge pull request #428 from moderndeveloperllc/master
NewRelicHandler: Prevent newrelic_add_custom_parameter() overwriting
2014-09-30 00:02:29 +01:00
Jordi Boggiano
0edd89d556 CS fixes 2014-09-29 23:07:02 +01:00
Jordi Boggiano
60f8561ffa Merge remote-tracking branch 'anroots/feature/fleep'
Conflicts:
	README.mdown
2014-09-29 23:03:32 +01:00
Jordi Boggiano
4f85e5570c Merge pull request #413 from fotomerchant/feature/slackEmoji
Added Emoji support for the Slack Handler
2014-09-29 22:58:47 +01:00
Mark Garrett
e7647fd37d Add prefixes to the context and extra record keys. Needed as some processors have the same keys as the the context. Specifically, the IntrospectionProcessor has "line" and "file" that can overwrite an error context "line" and "file". 2014-09-29 11:04:41 -05:00
Craig D'Amelio
14207dfbf7 Strip documentation, don't want to overstate. 2014-09-24 13:48:03 -04:00
Craig D'Amelio
d7939f3463 Test suite and supporting handler for WhatFailureGroupHandler 2014-09-24 13:45:06 -04:00
Theo Kouzelis
9752eb9bf3 Removed unnecessary test code and corrected doc style 2014-09-20 12:05:16 +01:00
Theo Kouzelis
b838c31b21 Stream Handler Throw Invalid Argument If Not String Or Resource 2014-09-17 21:35:11 +01:00
Ando Roots
b25697a3f0 Replace Curl with SocketHandler in FleepHookHandler 2014-08-28 23:33:42 +03:00
Ando Roots
c8d0830860 Fix issues highlighted by @stof on first code review 2014-08-28 22:58:52 +03:00
Ando Roots
7944eecbd8 Add FleepHookHandler
This commit adds a Handler for sending logs to fleep.io
conversations using their Webhook integration
(https://fleep.io/integrations/webhooks/).
2014-08-28 22:08:03 +03:00
Derek Clapham
89480cdaed Restored the $ regex string terminator for the WriteContext test 2014-08-26 09:49:46 +10:00
Derek Clapham
e4e60821b3 Added a new test for Emoji, reverted old tests 2014-08-23 10:56:40 +10:00
Derek Clapham
ff6c458260 Updated position of iconEmoji variable to prevent BC breaks 2014-08-22 16:49:42 +10:00
Derek Clapham
c63d082444 Added emoji support as per slack api doc: https://api.slack.com/methods/chat.postMessage 2014-08-22 15:19:14 +10:00