public static function getReport(array $backtrace) {
		$r = '';

		if(static::$format === 'html') {
			$request = \Asgard\Http\Request::singleton();
			$r .= static::getHTMLBacktrace($request, $backtrace);
			$r .= static::getHTMLRequest($request);
		}
		else
			$r .= static::getCLIBacktrace($backtrace);

		return $r;
	}
public static function getReport(array $backtrace) {
		$r = '';

		if(static::$format === 'html') {
			$request = \Asgard\Http\Request::singleton();
			$r .= static::getHTMLBacktrace($request, $backtrace);
			$r .= static::getHTMLRequest($request);
		}
		else
			$r .= static::getCLIBacktrace($backtrace);

		return $r;
	}
public static function getReport ( array $ backtrace ) { $ r = '' ; if ( static :: $ format === 'html' ) { $ request = \ Asgard \ Http \ Request :: singleton ( ) ; $ r .= static :: getHTMLBacktrace ( $ request , $ backtrace ) ; $ r .= static :: getHTMLRequest ( $ request ) ; } else $ r .= static :: getCLIBacktrace ( $ backtrace ) ; return $ r ; }
Return the HTML or CLI debug report.
@param  array  $backtrace
@return string
Return the HTML or CLI debug report .