handle() public method

public handle ( Exception $exception )
$exception Exception
Example #1
0
 public function testInfoExceptionErrorLog()
 {
     $this->assertFalse($this->monologHandler->hasInfoRecords());
     $this->logHandler->handle(new \ErrorException('test exception', 0, E_STRICT));
     $this->assertTrue($this->monologHandler->hasInfoRecords());
 }