mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 12:17:35 +02:00
Update changelog
This commit is contained in:
20
CHANGELOG.md
20
CHANGELOG.md
@@ -1,3 +1,23 @@
|
|||||||
|
### 1.24.0 (2018-06-xx)
|
||||||
|
|
||||||
|
* Added ability to customize error handling at the Logger level using Logger::setExceptionHandler
|
||||||
|
* Added InsightOpsHandler to migrate users of the LogEntriesHandler
|
||||||
|
* Added protection to NormalizerHandler against circular and very deep structures, it now stops normalizing at a depth of 9
|
||||||
|
* Added capture of stack traces to ErrorHandler when logging PHP errors
|
||||||
|
* Added forwarding of context info to FluentdFormatter
|
||||||
|
* Added SocketHandler::setChunkSize to override the default chunk size in case you must send large log lines to rsyslog for example
|
||||||
|
* Added ability to extend/override BrowserConsoleHandler
|
||||||
|
* Added SlackWebhookHandler::getWebhookUrl and SlackHandler::getToken to enable class extensibility
|
||||||
|
* Added SwiftMailerHandler::getSubjectFormatter to enable class extensibility
|
||||||
|
* Dropped official support for HHVM in test builds
|
||||||
|
* Fixed naming of fields in Slack handler, all field names are now capitalized in all cases
|
||||||
|
* Fixed normalization of objects in Slack handlers
|
||||||
|
* Fixed support for PHP7's Throwable in NewRelicHandler
|
||||||
|
* Fixed race bug when StreamHandler sometimes incorrectly reported it failed to create a directory
|
||||||
|
* Fixed table row styling issues in HtmlFormatter
|
||||||
|
* Fixed RavenHandler dropping the message when logging exception
|
||||||
|
* Fixed WhatFailureGroupHandler skipping processors when using handleBatch
|
||||||
|
|
||||||
### 1.23.0 (2017-06-19)
|
### 1.23.0 (2017-06-19)
|
||||||
|
|
||||||
* Improved SyslogUdpHandler's support for RFC5424 and added optional `$ident` argument
|
* Improved SyslogUdpHandler's support for RFC5424 and added optional `$ident` argument
|
||||||
|
@@ -84,6 +84,10 @@ class TestHandler extends AbstractProcessingHandler
|
|||||||
return isset($this->recordsByLevel[$level]);
|
return isset($this->recordsByLevel[$level]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string|array $record Either a message string or an array containing message and optionally context keys that will be checked against all records
|
||||||
|
* @param int $level Logger::LEVEL constant value
|
||||||
|
*/
|
||||||
public function hasRecord($record, $level)
|
public function hasRecord($record, $level)
|
||||||
{
|
{
|
||||||
if (is_string($record)) {
|
if (is_string($record)) {
|
||||||
|
Reference in New Issue
Block a user