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

540 Commits

Author SHA1 Message Date
Jordi Boggiano
95f62f7e3c Merge branch '1.x' 2018-06-18 15:54:04 +02:00
Petter Blomberg
f753c68a73 Make context optional in hasRecord to not break backwards compatibility 2018-06-18 15:52:04 +02:00
Petter Blomberg
b381a973bc Make TestHandler::hasRecord assert context, not only message 2018-06-18 15:50:12 +02:00
Jordi Boggiano
71afce5df7 Merge branch '1.x' 2018-06-18 11:34:19 +02:00
Klemen Bratec
e8db808dd3 Allow setting stream chunk size in SocketHandler (#1129) 2018-06-18 11:31:46 +02:00
Jordi Boggiano
3175130061 Merge branch '1.x' 2018-06-17 18:04:17 +02:00
Jordi Boggiano
00aca28c8b Fix SlackRecord normalization of fields, closes #1078 2018-06-17 18:03:59 +02:00
Artur Moczulski
c2d1d22b71 Sync RollbarHandler with the latest changes rollbar/rollbar package (#1042)
* Sync RollbarHandler and RollbarHandlerTest with the latest changes in the rollbar/rollbar package (1.0+)
2018-06-17 16:16:39 +02:00
Sergey Zaika
c1b610a676 fix InsightOpsHandlerTest 2018-06-17 15:44:17 +02:00
Pascal
5bb1c5fb4f Check if monolog runs in web context (#1024)
* Check if monolog runs in web context
2018-06-11 17:36:34 +02:00
Jordi Boggiano
ff5ae5cead Merge branch '1.x' 2018-06-11 17:35:32 +02:00
Jordi Boggiano
a6be840ff8 Merge pull request #1052 from gmsantos/1.x
Include InsightOps handler
2018-06-11 17:30:04 +02:00
Jordi Boggiano
2b688c4d1d Merge branch '1.x' 2018-06-09 17:23:36 +02:00
Jordi Boggiano
c7b12a7497 Json formatter should always format context/extra as an object, fixes #1028 2018-06-09 17:02:23 +02:00
Jordi Boggiano
5de973cd33 More 5.3 fixes 2018-06-09 10:23:30 +02:00
Jordi Boggiano
06f7bfb0ee Fix 5.3 build 2018-06-08 23:41:14 +02:00
Jordi Boggiano
518288c5c5 Merge branch '1.x' 2018-06-08 22:32:06 +02:00
Alban Kora
5f8783686e Fixing file rotation when similar files are present 2018-06-08 22:10:08 +02:00
Jordi Boggiano
12c9f58de2 Merge branch '1.x' 2018-06-08 21:08:04 +02:00
Chris Wilkinson
3035d4a251 Fix WhatFailureGroupHandler::handleBatch when the handler has processors 2018-06-08 20:39:17 +02:00
Jordi Boggiano
101daad3ce Merge pull request #1133 from DQNEO/compat-phpunit6
Compatible to phpunit6
2018-06-08 16:44:50 +02:00
Jordi Boggiano
cb7bd1d7f8 Merge pull request #1151 from kopiro/master
Typo on method name
2018-06-07 19:12:01 +02:00
Jordi Boggiano
9a2c747a0a Merge branch '1.x' 2018-06-07 18:30:00 +02:00
George Mponos
68e39bd84f Add a record with an object as context 2018-06-07 18:28:45 +02:00
Flavio Maria De Stefano
cf0ac7e33d Typo on method name 2018-05-18 12:13:16 +02:00
Avtandil Kikabidze
aad9de4d0d Fix unhandled throwable 2018-04-07 04:38:38 +04:00
Avtandil Kikabidze
1d006d80cb Add official ElasticSearch handler 2018-04-07 04:11:26 +04:00
Avtandil Kikabidze
57f3ca1791 Rename Elastica handler for naming consistency 2018-04-07 02:58:50 +04:00
DQNEO
39f464bd58 make compatible to phpunit 6 2018-04-02 00:54:21 +09:00
Kris Buist
bd79504f1e Add a ThresholdHandler
This handler can be used to not let any messages from a certain lever through, unless they cross a configured threshold.
This is useful together with, for example, a MailHandler when some batch processing is done and you're only interested in
major failure and not a minor one.
2017-11-17 19:16:49 +01:00
gmsantos
81db432c02 Include insightops handler 2017-09-10 00:13:37 -03:00
Jordi Boggiano
1417e2d183 Merge branch '1.x' 2017-06-19 02:16:33 +02:00
Jordi Boggiano
188a46836b Fix DyanmoDbHandler test suite 2017-06-19 02:06:55 +02:00
Alex Rock Ancelet
d84af8db3c Fix SwiftMailerHandler support for Swiftmailer 6.0+ 2017-06-19 01:59:54 +02:00
Douglas Reith
765d225554 Support HeadlessChrome (#966)
* Support HeadlessChrome
2017-06-19 01:47:42 +02:00
Grégoire Pineau
5a041bab8f Use callable typehint where possible + Removed dead code (#996)
* Removed dead code

* Use callable typehint where possible

* Removed PHP5.3 workaround
2017-06-19 01:41:02 +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
Jordi Boggiano
eba07cbad2 Avoid assertion-free test 2017-06-19 00:59:11 +02:00
Jordi Boggiano
ca4ffa68f6 Use namespaced phpunit classes, fixes #983 2017-06-19 00:48:54 +02:00
Chris Forrence
763c3afb32 Split expectException calls with two parameters into the proper two calls 2017-03-21 10:29:05 -04:00
Chris Forrence
85250d3c72 Replace deprecated setExpectedException methods with expectException 2017-03-21 10:14:16 -04:00
Jordi Boggiano
3266b6e257 Fix test moar 2017-03-20 11:21:06 +01:00
Jordi Boggiano
3c74c7a8d2 Fix tests 2017-03-20 11:12:52 +01:00
Jordi Boggiano
e4774920ff Fix test class 2017-03-20 11:04:39 +01:00
Jordi Boggiano
7405bb5d67 CS fixes 2017-03-20 10:56:47 +01:00
Jordi Boggiano
fb751dff33 Remove return annotations 2017-03-20 10:18:43 +01:00
Jordi Boggiano
c192b1a373 Remove strict types from test suite 2017-03-20 10:15:03 +01:00
Jordi Boggiano
b9256e99b6 Merge branch '1.x' 2017-03-20 10:11:48 +01:00
Jordi Boggiano
3b1f98df2a Fix 5.3 support 2017-03-20 10:07:14 +01:00
Erik Johansson
81e8bf6189 Add level parameter to payload when reporting Rollbar exceptions (#852) 2017-03-20 10:04:18 +01:00