Change record status: 
Project: 
Introduced in branch: 
8.5.x
Introduced in version: 
8.5.0
Description: 

Since Drupal 8.0.0, logger implementations receive the raw PHP backtrace when logging exceptions via, for example, the ExceptionLoggingSubscriber into the 'backtrace' variable.

As of now, _drupal_log_error() will also pass the raw PHP backtrace to logger implementations, so it is available when logging PHP errors.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done