added LogExceptions
/**
* @LogExceptions
* @param null $id
* @return null
* @throws \Exception
*/
public function normalLog($id = null)
{
return $id;
}
/**
* @LogExceptions(expect="\LogicException")
*/
public function expectException()
{
throw new \LogicException;
}
/**
* @LogExceptions(expect="\LogicException")
*/
public function expectNoException()
{
throw new FileNotFoundException(__DIR__);
}