DefaultExceptionSubscriber::getErrorLevel

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

1
2
3
4
5
6
protected function getErrorLevel() {
  if (!isset($this->errorLevel)) {
    $this->errorLevel = $this->configFactory->get('system.logging')->get('error_level');
  }
  return $this->errorLevel;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.