1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-13 08:34:12 +02:00

540 Commits

Author SHA1 Message Date
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
Laurent Laville
0d1a23e7fc avoid test suites failed with Fatal error when sockets extension is not available 2014-08-14 16:34:32 +02:00
Jordi Boggiano
16afa5ac26 Remove duplicate call to BufferHandler::close, fixes #386 2014-07-28 22:08:10 +02:00
Jordi Boggiano
c82120fea3 Merge PhpAmqlLibHandler into the AmqpHandler, refs #389 2014-07-28 20:37:39 +02:00
Jordi Boggiano
2c1d1ded9e Merge remote-tracking branch 'giosh94mhz/phpamqplib_handler' 2014-07-28 20:27:47 +02:00
Ian Babrou
6c799b3976 support for log file locking 2014-07-08 18:57:38 +04:00
Giorgio Premi
d6c5ec8ef9 Implemented PhpAmqpLibHandler 2014-07-08 14:36:58 +02:00
gkedzierski
be52105379 Move constructor argument before 2014-06-16 17:56:20 +02:00
gkedzierski
efd9a2065c Add plain text message support 2014-06-15 16:35:40 +02:00
gkedzierski
83ebdc1f32 Add colors to attachments based on level 2014-06-15 16:17:43 +02:00
gkedzierski
20844b94ff Add basic Slack logging functionality 2014-06-14 14:57:38 +02:00
Jordi Boggiano
25b16e8019 CS fixes 2014-06-04 18:30:04 +02:00
David Simon
b1216b8d45 Allowing some messages to always be flushed from FingersCrossedHandler 2014-05-27 11:26:42 -04:00
Jordi Boggiano
3030d3da4d Add option to allow multiline logs in error_log, fixes #366 2014-05-19 18:18:53 +02:00
Ray Ward
bdf58af603 Log extra data as custom parameters in new relic. 2014-05-14 10:21:18 +10:00