protected DefaultExceptionSubscriber::getErrorLevel()
Gets the configured error level.
Return value
string
File
- core/lib/Drupal/Core/EventSubscriber/DefaultExceptionSubscriber.php, line 55
 
Class
- DefaultExceptionSubscriber
 - Last-chance handler for exceptions.
 
Namespace
Drupal\Core\EventSubscriber
Code
protected function getErrorLevel() {
  if (!isset($this->errorLevel)) {
    $this->errorLevel = $this->configFactory->get('system.logging')->get('error_level');
  }
  return $this->errorLevel;
}
Please login to continue.