protected function setErrorLevel()
    {
        switch ($this->get('error_level', 2)) {
            case 0:
                error_reporting(0);
                break;
            case 1:
                error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
                break;
            case 2:
                error_reporting(E_ALL);
                break;
        }
    }