PhpTek\Sentry\Log\SentryLogger::backtrace
Manually extract or generate a suitable backtrace. This is especially useful in non-exception reports such as those that use Sentry\Client::captureMessage().
Note: Calling logic only makes use of this if the "custom_stacktrace" option is enabled. As it is, it requires a little more work to make it on-par with Sentry's defaults (which is this module's default also).
Signature
public function backtrace(array
$record )
Parameters
$record
— array
Returns
- array
- An array of filtered Sentry\Frame objects.