function FinalExceptionSubscriber::getErrorLevel
Gets the configured error level.
Return value
string
1 call to FinalExceptionSubscriber::getErrorLevel()
- FinalExceptionSubscriber::isErrorLevelVerbose in core/lib/ Drupal/ Core/ EventSubscriber/ FinalExceptionSubscriber.php 
- Checks whether the error level is verbose or not.
File
- 
              core/lib/ Drupal/ Core/ EventSubscriber/ FinalExceptionSubscriber.php, line 69 
Class
- FinalExceptionSubscriber
- Last-chance handler for exceptions: the final exception subscriber.
Namespace
Drupal\Core\EventSubscriberCode
protected function getErrorLevel() {
  if (!isset($this->errorLevel)) {
    $this->errorLevel = $this->configFactory
      ->get('system.logging')
      ->get('error_level');
  }
  return $this->errorLevel;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
