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
2ff7afda31
Change the way objects are normalized to avoid multi-levels of json encoding, fixes #560
2016-05-26 19:21:47 +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
Jordi Boggiano
6f26801be6
More type hints
2016-05-26 18:04:57 +01:00
Jordi Boggiano
76a91c6722
Set default date format to have a timezone, fixes #196
2016-05-26 18:04:51 +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
912d813c73
Add our own DateTime implementation to provide nicer JSON output, fixes #736
2016-05-20 21:33:27 +01:00
Jordi Boggiano
e27225dc40
Switch to DateTimeImmutable everywhere
2016-05-20 20:55:31 +01:00
Jordi Boggiano
6d2cfa63c9
Add support for custom logging level per exception class, and set ParseError to be CRITICAL
2016-05-20 20:45:16 +01:00
Jordi Boggiano
2a569ff961
Disable microsecond precision by default
2016-05-20 20:25:27 +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
d7b415c2c8
Make TestCase class available to dependents to help with testing
2016-05-20 20:09:02 +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
3e3f44aee4
Remove Logstash V0 support
2016-05-20 19:50:12 +01:00
Jordi Boggiano
a00acb6022
Clarify var purpose
2016-05-20 19:47:45 +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
Jordi Boggiano
5ecfbc25de
Fix issue in handling of broken iterators when serializing stack frames, fixes #772
2016-05-20 19:39:35 +01:00
Michael Moussa
09c4cca32b
Fix NewRelicHandler error when using LineFormatter
2016-05-20 19:31:17 +01:00
Leny BERNARD
3101f1c09a
check if val is null to avoid to set the string "null" instead of null
2016-05-20 19:19:52 +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
Mark Garrett
133a8df5f7
Typo
2016-05-11 11:59:26 -05:00
Mark Garrett
4e4c6d89ac
Change out to Throwable
2016-05-11 11:54:35 -05: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