public function getBacktrace($exception = null)
    {
        $backtrace = parent::getBacktrace($exception);

        foreach ($backtrace as $index => $backtraceCall) {
            $functionName = $this->buildFunctionName($backtraceCall);
            foreach ($this->filteredFunctions as $pattern) {
                if (preg_match('/'.$pattern.'/', $functionName)) {
                    unset($backtrace[$index]);
                    break;
                }
            }
        }

        return array_values($backtrace);
    }