1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 16:46:11 +02:00

Update changelog

This commit is contained in:
Jordi Boggiano
2018-06-18 16:35:54 +02:00
parent f753c68a73
commit 57a8a172e5
2 changed files with 24 additions and 0 deletions

View File

@@ -84,6 +84,10 @@ class TestHandler extends AbstractProcessingHandler
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)
{
if (is_string($record)) {