protected function getTrace($trace, $label) {
            ob_start();
            $trace = array_slice($trace, $this->config->traceDepth * -1);

            // @codeCoverageIgnoreStart
            if ($this->isCLI) {
                $this->traceCLI($trace, $label);
            } else {
                // @codeCoverageIgnoreEnd
                $this->traceHTML($trace);
            }

            return ob_get_clean();
        }