protected function shouldBeLog($e)
    {
        foreach ($this->dontLog as $instance) {
            if ($e instanceof $instance) {
                return false;
            }
        }

        return true;
    }