Loading src/ErrorPageErrorHandler.php +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ class ErrorPageErrorHandler { // Provide the PHP backtrace and exception to logger implementations. // Add 'severity_level' to the context to maintain BC and allow logging // implementations to use it. \Drupal::logger('php')->log($error['severity_level'], '%type: @message in %function (line %line of %file) [@uuid] @backtrace_string', $error + [ \Drupal::logger('php')->log($severity, '%type: @message in %function (line %line of %file) [@uuid] @backtrace_string', $error + [ 'backtrace' => $backtrace, 'exception' => $exception, 'severity_level' => $severity, Loading Loading
src/ErrorPageErrorHandler.php +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ class ErrorPageErrorHandler { // Provide the PHP backtrace and exception to logger implementations. // Add 'severity_level' to the context to maintain BC and allow logging // implementations to use it. \Drupal::logger('php')->log($error['severity_level'], '%type: @message in %function (line %line of %file) [@uuid] @backtrace_string', $error + [ \Drupal::logger('php')->log($severity, '%type: @message in %function (line %line of %file) [@uuid] @backtrace_string', $error + [ 'backtrace' => $backtrace, 'exception' => $exception, 'severity_level' => $severity, Loading