1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-18 19:01:31 +02:00

2648 Commits

Author SHA1 Message Date
Haralan Dobrev
393e243499 Add a Slackbot handler
This is the simplest way to log to Slack using the Slackbot.
It supports only plain text with automatic linking of URLs and mentions.
2016-11-19 18:53:00 +02:00
Jordi Boggiano
3c782662f9 Merge pull request #887 from remicollet/travis-php71
enable 7.1 on travis
2016-11-17 12:01:44 +01:00
Remi Collet
c8b8e85f78 enable 7.1 on travis 2016-11-17 11:43:54 +01:00
Jordi Boggiano
261f303841 Merge branch '1.x' 2016-11-17 11:26:29 +01:00
Jordi Boggiano
8f47e12463 Fix PHP7.1 DateTime support 2016-11-17 11:25:45 +01:00
Jordi Boggiano
9a6bf92626 Merge branch '1.x' 2016-11-16 12:16:26 +01:00
Julien Falque
9d43c66cc6 Make protected generic methods public 2016-11-16 12:15:57 +01:00
Jordi Boggiano
9cabe2961a Merge branch '1.x' 2016-11-15 13:16:37 +01:00
Jordi Boggiano
f1d2b090d5 CS 2016-11-15 13:16:16 +01:00
Jay MOULIN
09a68c81e3 isolate fwrite to allow override 2016-11-15 13:15:19 +01:00
Jordi Boggiano
4a43d9b17c Fix microseconds support on 7.1, and enable it by default as 7.1 has no perf cost anymore 2016-11-14 11:53:15 +01:00
Jordi Boggiano
9691bde77a Fix UdpSocket tests 2016-11-14 11:49:23 +01:00
Jordi Boggiano
e5677a07ce Merge pull request #879 from martijncalker/add-sqshandler
Add SqsHandler
2016-11-14 10:09:14 +01:00
Jordi Boggiano
eb0cceefb4 Tiny wording fix 2016-11-14 10:09:00 +01:00
Jordi Boggiano
b5794652f5 Merge pull request #824 from adambro/patch-1
Throw RuntimeException if socket resource is missing
2016-11-14 10:04:02 +01:00
Martijn van Calker
c0cc2b6cdf Add SqsHandler 2016-11-14 09:20:24 +01:00
Jordi Boggiano
d7febf922c Merge pull request #868 from ComaVN/noop-handler
Added the NoopHandler.
2016-11-13 20:40:29 +01:00
Jordi Boggiano
2133e01288 Prepare 1.22 changelog 2016-11-13 20:36:07 +01:00
Jordi Boggiano
1dc4cf31e8 Merge branch '1.x' 2016-11-13 20:26:27 +01:00
Jordi Boggiano
371b8ebb1b Add a RollbarHandler::flush() and make it close automatically on shutdown, fixes #864, closes #865 2016-11-13 20:25:52 +01:00
Jordi Boggiano
cc8a013611 Optimize removal of leftover extra/context placeholders, refs #866 2016-11-13 20:17:30 +01:00
Jordi Boggiano
79bf752d27 Merge pull request #866 from p-golovin/patch-1
Remove substitution for not defined variables
2016-11-13 20:15:08 +01:00
Jordi Boggiano
2c1ed388c2 Allow overriding the routing key in AMQPHandler, fixes #874 2016-11-13 20:12:37 +01:00
Jordi Boggiano
71c13b8c00 Merge pull request #872 from riccardomessineo/master
SlackHandler, new parameter $printSimpleMessage
2016-11-13 20:06:25 +01:00
Jordi Boggiano
e1fd076dbc Merge pull request #870 from tucksaun/fix-raven-handler-picking-wrong-event
Make the RavenHandler picks the first highest record as main
2016-11-13 20:02:41 +01:00
Jordi Boggiano
d33d11f264 Cache version_compare call, refs #884 2016-11-13 19:57:51 +01:00
Jordi Boggiano
fe94f2f1ad Merge pull request #884 from nikolaposa/fix/mongodb-formatter-date
Fixing date/time formatting in MongoDBFormatter
2016-11-13 19:53:29 +01:00
Jordi Boggiano
b21b465cca Fix Redis test failures 2016-11-13 19:50:36 +01:00
Jordi Boggiano
b85b5bc3e7 Merge pull request #880 from siwinski/pr-fix-test-for-sentry-gte-0-16-0
Fix tests for sentry/sentry >= 0.16.0 (and < 1.0)
2016-11-13 19:50:22 +01:00
Jordi Boggiano
9da099717b Cast toJson to string in case it returns false, fixes #878 2016-11-13 19:36:50 +01:00
Nikola Posa
b064f86b41 Fixing date/time formatting in MongoDBFormatter. 2016-11-10 20:57:05 +01:00
Jordi Boggiano
cb88cc82de Merge pull request #881 from aryeguy/patch-1
Added return type annotation
2016-11-07 09:56:29 +01:00
Jordi Boggiano
fd127027cd Use type hints instead of phpdoc 2016-11-07 09:56:02 +01:00
Guy Arye
9549056015 Added return type annotation 2016-11-07 09:46:10 +02:00
Shawn Iwinski
2dd4a0fa3d Fix tests for sentry/sentry >= 0.16.0 (and < 1.0)
From composer.json: `"sentry/sentry": "^0.13"`
Latest 0.x `sentry/sentry`: 0.22.0

sentry/sentry 0.16.0 changed the function signature of Raven_Client::capture():
0.16.0: `public function capture($data, $stack = null, $vars = null)`
0.15.0: `public function capture($data, $stack, $vars = null)`

While the test suite silently passes with PHP < 7.1, running the test suite with
PHP 7.1 fails with the following error:
`Declaration of Monolog\Handler\MockRavenClient::capture($data, $stack, $vars = NULL)
should be compatible with Raven_Client::capture($data, $stack = NULL, $vars = NULL)`
2016-11-06 11:11:41 -05:00
Jordi Boggiano
918922daee Merge pull request #876 from jeroenseegers/patch-1
Minimum required PHP version in README
2016-10-31 15:20:07 +01:00
Jordi Boggiano
40293f32d9 Point users to older release to avoid confusion on the default README 2016-10-31 15:19:59 +01:00
Jeroen Seegers
1536d3f9d1 Minimum required PHP version in README
Updated the minimum required PHP version in README from 5.3 to 7.0 as detailed in `composer.json`.

Fixes #873
2016-10-31 12:02:34 +01:00
Riccardo Messineo
0fb49dcfdf New parameter $printSimpleMessage default false (Whether the attachment should include only the message without extradata) 2016-10-18 09:46:33 +02:00
Tugdual Saunier
d234839de1 Make the RavenHandler picks the first highest record as main 2016-10-13 09:42:54 +01:00
Roel Harbers
c370308139 removed unused data provider in test 2016-10-12 16:44:30 +02:00
Roel Harbers
7284f7d9dc Added the NoopHandler.
This handler handles anything, but does nothing, and does not stop bubbling to the rest of the stack.

This can be used for testing, or to disable a handler when overriding a configuration without influencing the rest of the stack.
2016-10-12 16:28:10 +02:00
Pavel Golovin
c3c0abf2a4 Update LineFormatter.php 2016-10-10 19:01:08 +03:00
Pavel Golovin
ccb4aeba21 Remove substitution for not defined variables
If variable in extra or context isn't defined, than placeholder will not not be replaced in format string. This patch remove all not replaced placeholders
2016-10-10 18:57:57 +03:00
Jordi Boggiano
58544af7ff Merge pull request #861 from merorafael/patch-1
Added Yii2 component on README.mdown
2016-10-04 10:02:32 +02:00
Rafael Mello
964f278b5a Update README.mdown
Added Yii2 plugin
2016-10-03 16:28:51 -03:00
Jordi Boggiano
0d01b2c8c7 Merge branch '1.x' 2016-10-03 20:31:55 +02:00
Jordi Boggiano
214b8ef34b Add total amount of items when aborting traversable normalization 2016-10-03 20:31:30 +02:00
Jordi Boggiano
3884c922ee Merge branch '1.x' 2016-09-29 09:29:36 +02:00
Jordi Boggiano
7f135e9ed0 Add support for consumed generators in NormalizerFormatter, fixes #838 2016-09-29 09:29:30 +02:00