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