src/Log/LogFormatter.php
protected function getExceptionTrace(array $context)
    {
        if (array_key_exists('exception', $context)) {
            if ($context['exception'] instanceof \Exception) {
                $strException = $context['exception']->getTraceAsString();

                return $strException;
            }
        }

        return '';
    }
protected function getExceptionTrace(array $context)
    {
        if (array_key_exists('exception', $context)) {
            if ($context['exception'] instanceof \Exception) {
                $strException = $context['exception']->getTraceAsString();

                return $strException;
            }
        }

        return '';
    }
protected function getExceptionTrace ( array $ context ) { if ( array_key_exists ( 'exception' , $ context ) ) { if ( $ context [ 'exception' ] instanceof \ Exception ) { $ strException = $ context [ 'exception' ] -> getTraceAsString ( ) ; return $ strException ; } } return '' ; }
Get Exception trace if found in the context.

@param array $context
Get Exception trace if found in the context .