mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 05:36:45 +02:00
Reset test handler
This commit is contained in:
@@ -79,6 +79,11 @@ class TestHandler extends AbstractProcessingHandler
|
|||||||
$this->recordsByLevel = array();
|
$this->recordsByLevel = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function reset()
|
||||||
|
{
|
||||||
|
$this->clear();
|
||||||
|
}
|
||||||
|
|
||||||
public function hasRecords($level)
|
public function hasRecords($level)
|
||||||
{
|
{
|
||||||
return isset($this->recordsByLevel[$level]);
|
return isset($this->recordsByLevel[$level]);
|
||||||
|
Reference in New Issue
Block a user