1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-25 10:36:33 +02:00
Commit Graph

1333 Commits

Author SHA1 Message Date
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
Jordi Boggiano
75c37161d5 Merge branch '1.x' 2016-09-29 09:18:55 +02:00
Jordi Boggiano
11df1db3d6 Skip phan error 2016-09-29 09:17:54 +02:00
Jordi Boggiano
6bf91fa40a Make sure MercurialProcessor fails gracefully 2016-09-29 09:17:31 +02:00
Jordi Boggiano
d72b886978 Add support for AWS SDK v3 2016-09-29 09:17:17 +02:00
Jordi Boggiano
5ce1c921ad Fix type errors, thanks phan 2016-09-25 22:11:37 +02:00
Jordi Boggiano
85792c8818 Make use of random_bytes for better uniqueness 2016-09-25 21:23:55 +02:00
Jordi Boggiano
6e6586257d Add scalar types to processor/formatters and top level classes 2016-09-25 21:23:35 +02:00
Jordi Boggiano
760dc44ebd Remove redundant setTimezone call 2016-09-25 18:39:28 +02:00
Jordi Boggiano
bb61bfbe3b When newlines are allowed in LineFormatter, unpack json_encoded blobs containing newlines into multiline strings, fixes #752 2016-09-25 18:22:52 +02:00
Jordi Boggiano
96f4fd718f CS fixes 2016-09-25 17:46:38 +02:00
Jordi Boggiano
941c21b793 Merge branch '1.x' 2016-09-25 17:41:12 +02:00
Jordi Boggiano
40b4891030 Make sure SyslogUdpHandler does not create empty frames where not necessary, fixes #841 2016-09-25 17:30:37 +02:00
Jordi Boggiano
8f5c153b69 Merge pull request #840 from krzysiekpiasecki/master
Declaring That a Logger Can Throw an Exception
2016-09-25 17:23:03 +02:00
Jordi Boggiano
9f8d34afae Tweak RollbarHandler to use proper levels and include level and level_name in context info, fixes #852 2016-09-25 17:03:54 +02:00
Jordi Boggiano
d8dee1cc15 Merge branch '1.x' 2016-09-25 16:48:01 +02:00
Jonathan A. Schweder
240b7458dd add MercurialProcessor 2016-09-25 16:39:55 +02:00
Jordi Boggiano
c6a9f28e24 Fix a ton of tests for latest phpunit and turn faked-stream tests into real network tests with a local server 2016-09-19 18:20:42 +02:00
Jordi Boggiano
5a501834c0 Fix MongoDBFormatter 2016-09-19 13:31:41 +02:00
Jordi Boggiano
5558c3b26b Minor clarifications 2016-09-19 13:29:35 +02:00
Jordi Boggiano
89683faff3 Fixes microsecond timezone support, fixes #832 2016-09-19 13:24:54 +02:00
Jordi Boggiano
ec945b60d4 Merge branch '1.x' 2016-09-18 18:10:42 +02:00
Jordi Boggiano
dacec2fe1e Merge remote-tracking branch 'eimanavicius/support-for-Throwable-in-JsonFormatter' into 1.x 2016-09-18 18:07:11 +02:00
Jordi Boggiano
1b5d46fc52 Revert addition of JSON_NUMERIC_CHECK as per #844 comment 2016-09-18 17:59:47 +02:00
Guillaume Polaert
19d72693c8 Preserved typing for float and integers values
Related #831
Logs stored in a ELK-based solution need to keep the value typing, especially with float vs integer types.
Adding `JSON_NUMERIC_CHECK` and `JSON_PRESERVE_ZERO_FRACTION` allow to avoid issue.
2016-09-05 16:30:35 +02:00
krzysiekpiasecki
4ebf6fa43f Declaring That a Logger Can Throw an Exception 2016-08-29 20:46:48 +02:00
Nerijus Eimanavičius
6586425a31 Better support for PHP7 \Throwable 2016-08-28 00:47:02 +03:00
Jared King
bc3ccb0e87 Add support for PHP 7 errors in RavenHandler by checking for Throwable instead of Exception 2016-08-17 11:14:23 -05:00
Jordi Boggiano
cc1fe9fa91 Merge branch '1.x' 2016-07-29 05:25:24 +02:00
Adam Kiss
3419d21669 Added option to log errors regardless of error_reporting setting 2016-07-29 05:22:42 +02:00
Jordi Boggiano
0defb2665b Revert #810 and remove the context info in the php error logger of ErrorHandler, fixes #828, closes #810 2016-07-29 05:08:45 +02:00
Jordi Boggiano
5967b80dfb Only use DateTimeImmutable formatting for default date format, fixes #827 2016-07-29 05:07:02 +02:00
Jordi Boggiano
6b0d0c4a19 Merge branch '1.x' 2016-07-29 04:53:49 +02:00
Jordi Boggiano
20e09c7e5f Merge remote-tracking branch 'ondrejmirtes/phpstan' 2016-07-29 04:51:47 +02:00
Jordi Boggiano
ced9284123 Fix tests 2016-07-29 04:51:33 +02:00
Jordi Boggiano
5052fe7b1f Merge remote-tracking branch 'francisbesset/feat-soapfault' into 1.x 2016-07-29 04:47:55 +02:00
Jordi Boggiano
9b5bf2cca7 Allow formatting of message by setting a line formatter on SlackHandler, fixes #829 2016-07-29 04:20:18 +02:00
Jordi Boggiano
f952c6b5c9 Merge branch '1.x', fixes #771 2016-07-29 04:09:04 +02:00
Jordi Boggiano
fac277b15a Make separator optional 2016-07-29 04:07:25 +02:00
Jordi Boggiano
679f4064a8 Merge branch '1.x' 2016-07-29 04:05:03 +02:00
Jordi Boggiano
a6ecf50e74 Allow other separators for the date format in RotatingFileHandler 2016-07-29 04:04:32 +02:00
Adam Brodziak
eca984b647 Throw RuntimeException if socket resource is missing
The socket resource can be closed, purged or lost during the runtime of an application.
It is valid concern, because the resource is acquired and used at different times during request.

LogicException is more for static preconditions that have to be valid before function call.
2016-07-20 16:07:14 +02:00
Francis Besset
8b1f522206 Added informations to normalize a SoapFault 2016-07-20 15:18:11 +02:00
Ondrej Mirtes
26d7d29d27 Fixed incompatible interfaces with MailHandler 2016-07-19 00:33:15 +02:00
Jordi Boggiano
f16e67d523 CS fixes 2016-07-02 15:12:25 +01:00
Jordi Boggiano
a36b099646 Merge remote-tracking branch 'JulienBreux/feature/logmatic' 2016-07-02 15:05:16 +01:00
Jordi Boggiano
b909ca1e02 Merge branch '1.x' 2016-07-02 15:03:11 +01:00
Jordi Boggiano
55841909e2 Undo accidental linebreak 2016-07-02 15:02:10 +01:00
Jordi Boggiano
69fb2aa1c1 Fix GroupHandler::handleBatch when the handler has processors, fixes #814 2016-07-02 14:48:22 +01:00