1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-09 14:46:46 +02:00

1740 Commits

Author SHA1 Message Date
Jordi Boggiano
6d79e51f91 Tweaks to exception handler, refs #1012 2018-06-08 21:02:44 +02:00
Jordi Boggiano
4814446331 Merge remote-tracking branch 'vincepare/1.x' into 1.x 2018-06-08 20:44:28 +02:00
Chris Wilkinson
3035d4a251 Fix WhatFailureGroupHandler::handleBatch when the handler has processors 2018-06-08 20:39:17 +02:00
Ben Dubuisson
22b92c7c00 Fixed message not being passed to client when capturing an exception
The raven client expects the message to be at the first level of the data array when passing an exception.
see https://github.com/getsentry/sentry-php/blob/master/lib/Raven/Client.php#L795
2018-06-08 20:19:10 +02:00
Josh McRae
c0eeca76fd Check for directory before throwing 'no existing directory' exception 2018-06-08 12:51:29 +02:00
Andreas Möller
2aa45553d8 Fix: Remove VersionEye badge (#1140) 2018-06-07 19:20:58 +02:00
Mponos George
dfa21a506e Update .travis.yml (#1120) 2018-06-07 19:17:53 +02:00
Jordi Boggiano
8c4539f1fe More boolean=>bool 2018-06-07 18:45:07 +02:00
Jordi Boggiano
5f85e657f8 Merge pull request #1077 from ErikBooij/1.x
Rename Boolean in phpDocs to bool on 1.x
2018-06-07 18:42:33 +02:00
Jordi Boggiano
07681ea4ba Fix normalization of objects in SlackRecord, closes #1127 2018-06-07 18:28:46 +02:00
George Mponos
68e39bd84f Add a record with an object as context 2018-06-07 18:28:45 +02:00
Jordi Boggiano
20091d25d3 Merge pull request #1144 from MilesChou/open-visibility-for-slack-handlers
Adjust visibility of some properties to protected for extend slack handlers
2018-06-07 18:28:19 +02:00
tnucera
678693e5ef Add context to fluentd formatter 2018-06-07 17:47:43 +02:00
Jordi Boggiano
9893ae5d1e Merge pull request #1142 from lyrixx/drop-hhvm
Drop HHVM in .travis.yml
2018-06-07 17:27:29 +02:00
Jordi Boggiano
b0c1609d36 Merge pull request #1088 from MilesChou/1.x
Add getter for webhook url in SlackWebhookHandler class
2018-06-07 17:23:48 +02:00
Jordi Boggiano
6e794d32f9 Merge pull request #1160 from zaporylie/browserconsolehandler
Use late static bindings in BrowserConsoleHandler
2018-06-05 10:23:38 +02:00
Jakub Piasecki
a15c1daf91 Use late static bindings in BrowserConsoleHandler 2018-06-04 13:35:27 +02:00
Paul Webster
ccb95c08fd NewRelicHandler - handle Throwable in PHP7 2018-05-03 11:15:17 +12:00
MilesChou
985fdb3eae Add getter for webhook and token property 2018-04-25 15:51:22 +08:00
MilesChou
1107013b9c Open visibility for slack handlers 2018-04-24 23:17:02 +08:00
Grégoire Pineau
1e8deb4672 Drop HHVM in .travis.yml 2018-04-16 15:03:26 +02:00
Robert Gust-Bardon
4fea44bf96 Fix the reflection of constants in HHVM 2018-02-22 13:48:30 -06:00
Robert Gust-Bardon
cf979844dc Register signal handlers 2018-02-22 11:16:36 -06:00
Damian Mooyman
2d9c905b76 ENHANCEMENT Ensure 'trace' is captured for non-exceptions
Fixes #693
2018-01-15 10:42:24 +13:00
MilesChou
18b93feea6 Add getter for webhook url in SlackWebhookHandler class
Add getter so that the subclass can easy to inherit SlackWebhookHandler class
2017-11-30 13:47:54 +08:00
Erik Booij
ecdfdc9897 Rename Boolean in phpDocs to bool 2017-11-04 12:14:41 +01:00
gmsantos
81db432c02 Include insightops handler 2017-09-10 00:13:37 -03:00
Vincent Paré
207c91699e Custom exception handler (#500)
Add custom exception handler to let the user change the default
behavior when Monolog raise an exception while logging a record.
2017-07-14 12:18:44 +02:00
Jordi Boggiano
fd8c787753 Update changelog 1.23.0 2017-06-19 03:22:40 +02:00
Jordi Boggiano
d6be96bc3c Fix 5.3 support 2017-06-19 03:13:01 +02:00
Harm Bandstra
4260b46760 SlackWebhookHandler: refactor curl_setopt to curl_setopt_array 2017-06-19 02:13:06 +02:00
Harm Bandstra
52d9096b14 Explicitly set content-type header, and post JSON as body 2017-06-19 02:12:59 +02:00
Jordi Boggiano
188a46836b Fix DyanmoDbHandler test suite 2017-06-19 02:06:55 +02:00
Jordi Boggiano
2ea3d95ca2 Make sure this works on any hostname 2017-06-19 02:00:36 +02:00
Alex Rock Ancelet
d84af8db3c Fix SwiftMailerHandler support for Swiftmailer 6.0+ 2017-06-19 01:59:54 +02:00
Jordi Boggiano
6fdf686a02 Use Aws\Sdk instead of Aws\Common\Aws, fixes #969, fixes #977 2017-06-19 01:51:14 +02:00
Jordi Boggiano
357ae23fa4 Tweak HandlerWrapper example in docblock, fixes #991 2017-06-19 01:51:14 +02:00
Douglas Reith
765d225554 Support HeadlessChrome (#966)
* Support HeadlessChrome
2017-06-19 01:47:42 +02:00
Remon van de Kamp
deb0ea4ee7 Use first day/first month for date calculations in RotatingFileHandlerTest (#963)
When making the calculations for the filename of the current month using
date('d') does not work because you may run into the situation where you run
the tests on a day in a month that does not exist in the previous month,
for example March 30th. As there is no February 30th, PHP will skip ahead
to March, and the filename for the "previous" month will incorrectly be
"2017-03" instead of the expected "2017-02". Using the first day of the
month instead of the current day of the month solves this problem.

For consistency we now also use the first month of each year for calculations
regarding years even if this is not necessary, it would break symmetry
if we don't, plus it makes it clear that the value is not relevant in the
calculation.
2017-06-19 01:33:57 +02:00
Brant Messenger
1b769912d1 PHP Versions less than 5.3.6 throws undefined constant DEBUG_BACKTRAC… (#986)
* PHP Versions less than 5.3.6 throws undefined constant DEBUG_BACKTRACE_IGNORE_ARGS 

Notice: Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in /vendor/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php on line 58

* Define DEBUG_BACKTRACE_IGNORE_ARGS if not defined.

* Solution using PHP_VERSION_ID and not defining...

...DEBUG_BACKTRACE_IGNORE_ARGS
2017-06-19 01:16:17 +02:00
Jordi Boggiano
120499283b Remove amqp ext 2017-06-19 00:09:41 +02:00
Jordi Boggiano
af1e913233 Revert "Tweak extension loading"
This reverts commit 9cf8fb3810.
2017-06-19 00:07:43 +02:00
Jordi Boggiano
9cf8fb3810 Tweak extension loading 2017-06-19 00:03:59 +02:00
Jordi Boggiano
70ed794fb2 Update to trusty builds 2017-06-18 23:42:15 +02:00
Jordi Boggiano
35c07a81de Merge pull request #979 from Aliance/patch-1
Update JsonFormatter PHPDoc.
2017-05-03 15:17:21 +02:00
Lesnykh Ilia
6696e045df Update JsonFormatter.php 2017-05-03 15:37:25 +03:00
Jordi Boggiano
4cdd014b80 Merge pull request #967 from enleur/gelf-max-length
Gelf max length
2017-04-10 09:58:43 +02:00
Jordi Boggiano
1b660bbbee Remove constant from constructor 2017-04-10 09:37:23 +02:00
Enleur
faed450d52 Use GELF max length per field and make max length configurable in constructor 2017-04-07 13:49:54 +03:00
Jordi Boggiano
3266b6e257 Fix test moar 2017-03-20 11:21:06 +01:00