1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 18:16:10 +02:00
Commit Graph

682 Commits

Author SHA1 Message Date
Jordi Boggiano
b909ca1e02 Merge branch '1.x' 2016-07-02 15:03:11 +01:00
Jordi Boggiano
69fb2aa1c1 Fix GroupHandler::handleBatch when the handler has processors, fixes #814 2016-07-02 14:48:22 +01:00
Martin Kačmar
c02b43e0e0 Fix for TypeError - stream_set_timeout() expects integer as second and third parameter 2016-06-15 17:01:22 +02:00
Jordi Boggiano
baa7471cb5 More amqp fixes 2016-05-27 14:28:25 +01:00
Jordi Boggiano
a5a333d8cd Fix typo 2016-05-27 14:18:29 +01:00
Jordi Boggiano
87ea7b4596 Fix AmqpHandler class check 2016-05-27 13:57:55 +01:00
Jordi Boggiano
21dde4dedb Move to strict mode and fix tests 2016-05-27 13:44:00 +01:00
Jordi Boggiano
788902b320 Merge branch '1.x' 2016-05-26 22:44:31 +01:00
Jordi Boggiano
39aeecefae Add getter for the StreamHandler URL, fixes #797 2016-05-26 22:44:25 +01:00
Jordi Boggiano
8a45ed75cc Auto-detecting of mime type for emails and switched to HtmlFormatter for emails by default, fixes #577 2016-05-26 22:41:41 +01:00
Jordi Boggiano
af7c0a7bda Make handlers more serializable by default by having them close() before sleeping, fixes #365 2016-05-26 21:13:52 +01:00
Jordi Boggiano
f200e79879 CS fixes 2016-05-26 20:54:06 +01:00
Jordi Boggiano
85e43a5e7b Merge branch '1.x' 2016-05-26 20:42:24 +01:00
Jordi Boggiano
5e6b844653 Only fail on really empty stream URL, fixes #796 2016-05-26 20:27:56 +01:00
Jordi Boggiano
ba44f35534 Add type hints and fix formatting 2016-05-26 20:17:22 +01:00
Jordi Boggiano
a4f1c18339 Merge remote-tracking branch 'ricardofontanelli/master' 2016-05-26 20:12:25 +01:00
Jordi Boggiano
b9bf56a330 Remove exchangeName usage for AMQP extension users and make PhpAmqpLib use it only if provided, no more default to "log", fixes #355 2016-05-26 20:06:10 +01:00
Jordi Boggiano
3d7842ec1e Coding style fixes, refs #720 2016-05-26 18:16:46 +01:00
Jordi Boggiano
8a379a3166 Merge remote-tracking branch 'ArSn/master' 2016-05-26 18:14:26 +01:00
Jordi Boggiano
d2616c0026 Fix typo 2016-05-26 18:14:10 +01:00
Ricardo Fontanelli
3c7920b446 FIX the class name
FIX the class name (sorry, I'm coding direct in GitHub)
2016-05-24 00:57:48 -03:00
Ricardo Fontanelli
f1e3bdce76 FIX typing errors
FIX typing errors
2016-05-23 22:57:51 -03:00
Ricardo Fontanelli
446613af47 CS fixes
CS fixes
2016-05-23 22:52:24 -03:00
Ricardo Fontanelli
a9e990ac5e ADD support to SendGrid Handler
ADD support to SendGrid Handler
2016-05-23 22:50:26 -03:00
Jordi Boggiano
e27225dc40 Switch to DateTimeImmutable everywhere 2016-05-20 20:55:31 +01:00
Jordi Boggiano
cb479a9b18 Remove HipChat API v1 support 2016-05-20 20:24:02 +01:00
Jordi Boggiano
ba9d57a96b Add extra safety 2016-05-20 20:14:51 +01:00
Jordi Boggiano
c04d39d10b Make MongoDBFormatter default formatter for the MongoDBHandler in 2.0 2016-05-20 20:12:17 +01:00
Jordi Boggiano
1fb211e43f Remove duplicate catch statements 2016-05-20 20:01:29 +01:00
Jordi Boggiano
e46fecde34 Remove support for legacy Gelf lib 2016-05-20 19:55:04 +01:00
Jordi Boggiano
f19fffe870 Merge remote-tracking branch 'rpkamp/master' 2016-05-20 19:43:01 +01:00
Jordi Boggiano
7a65105505 Merge remote-tracking branch 'fprochazka/php7-throwable' 2016-05-20 19:40:51 +01:00
Jordi Boggiano
3eee2a006b Merge branch '1.x' 2016-05-20 19:40:36 +01:00
Michael Moussa
09c4cca32b Fix NewRelicHandler error when using LineFormatter 2016-05-20 19:31:17 +01:00
Remon van de Kamp
83a24937ba Add deprecation errors on RotatingFileHandler (#774)
* Add deprecation errors when attempting to set dateFormats of fileFormats that
break the possibility of rotating easily in RotatingFileHandler. Version 2.x
of Monolog will throw `\InvalidArgumentException`s in these cases.
2016-05-20 19:13:19 +01:00
Filip Procházka
e2c575b505 Catch Throwable 2016-05-13 21:43:07 +02:00
Filip Procházka
06efba7062 Catch Throwable 2016-05-13 11:21:34 +02:00
Harm van Tilborg
3dd221b319 Tiny typo in TestHandler exception 2016-05-06 10:48:17 +02:00
Jordi Boggiano
b23ddb363f Merge pull request #769 from naderman/t/fingers-crossed-override-activation
Provide means to manually activate a FingersCrossedHandler
2016-04-20 20:08:06 +01:00
Nils Adermann
0fc6734c6f FingersCrossedHandler: Clean up code 2016-04-20 15:00:33 -04:00
Remon van de Kamp
1841e2ba88 Lock down RotateFileHandler to prevent errors with rotation
- Require the dateFormat to be one of three presets ('Y-m-d', 'Y-m' or 'Y') to
  ensure that dates can be sorted lexographically
- Require the filenameFormat to contain the (sub)string `{date}` so we will
  actually create new files instead of the same file over and over again.
2016-04-18 21:51:37 +02:00
Nils Adermann
abb58081fe Extract fingerscrossed activation into its own method callable from outside 2016-04-15 14:05:55 -04:00
Jordi Boggiano
3ce314cc92 Merge pull request #706 from acrobat/amqp_handler_fix
Removed substr call in amqp routing key generator
2016-04-15 18:05:13 +01:00
Andrzej Kupczyk
04dedae4a8 Fixed $handler property visibility
According to the given example, $handler property should not be private.
2016-04-15 17:52:32 +01:00
Andrzej Kupczyk
b18092d4a2 Fixed $handler property visibility
According to the given example, $handler property should not be private.
2016-04-15 18:45:46 +02:00
Nils Adermann
c677398c76 Provide means to manually activate a FingersCrossedHandler
This is useful if you have a FingersCrossedHandler set up and some where
in your application are interested in all output regardless of whether
the threshold is actually reached. For example to temporarily debug some
problem. One can replace the handler in that spot, but this is
signifcantly easier to use.
2016-04-14 16:56:59 -04:00
Jeroen Thora
dbccc56a44 Removed substr call in amqp routing key generator 2016-04-14 12:54:01 +02:00
Jordi Boggiano
144b66be83 Merge branch '1.x' 2016-04-12 19:56:51 +01:00
Jordi Boggiano
a3f7c4a147 Add getStream to the StreamHandler 2016-04-12 19:29:25 +01:00
Jordi Boggiano
fbddc30416 Merge branch '1.x' 2016-04-12 19:21:19 +01:00