You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,14 @@ New deprecations:
41
41
value equal to what `Logger::WARNING` was giving you.
42
42
-`Logger::getLevelName()` is now deprecated.
43
43
44
+
### 2.7.0 (2022-06-09)
45
+
46
+
* Added `$datetime` parameter to `Logger::addRecord` as low level API to allow logging into the past or future (#1682)
47
+
* Added `Logger::useLoggingLoopDetection` to allow disabling cyclic logging detection in concurrent frameworks (#1681)
48
+
* Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler (#1670)
49
+
* Marked the reusable `Monolog\Test\TestCase` class as `@internal` to make sure PHPStorm does not show it above PHPUnit, you may still use it to test your own handlers/etc though (#1677)
50
+
* Fixed RotatingFileHandler issue when the date format contained slashes (#1671)
51
+
44
52
### 2.6.0 (2022-05-10)
45
53
46
54
* Deprecated `SwiftMailerHandler`, use `SymfonyMailerHandler` instead
$this->warning('A possible infinite logging loop was detected and aborted. It appears some of your handler code is triggering logging, see the previous log record for a hint as to what may be the cause.');
287
304
returnfalse;
@@ -297,7 +314,7 @@ public function addRecord(int|Level $level, string $message, array $context = []
* @internal feel free to reuse this to test your own handlers, this is marked internal to avoid issues with PHPStorm https://github.com/Seldaek/monolog/issues/1677
25
27
*/
26
28
class TestCase extends \PHPUnit\Framework\TestCase
0 commit comments