src/Mouf/Utils/Log/ErrorLogLogger.php
static private function getTextBackTrace($backtrace) {
		$str = '';
	
		foreach ($backtrace as $step) {
			if ($step['function']!='getTextBackTrace' && $step['function']!='handle_error')
			{
				if (isset($step['file']) && isset($step['line'])) {
					$str .= "In ".$step['file'] . " at line ".$step['line'].": ";
				}
				if (isset($step['class']) && isset($step['type']) && isset($step['function'])) {
					$str .= $step['class'].$step['type'].$step['function'].'(';
				}
	
				if (is_array($step['args'])) {
					$drawn = false;
					$params = '';
					foreach ( $step['args'] as $param)
					{
						$params .= self::getPhpVariableAsText($param);
						//$params .= var_export($param, true);
						$params .= ', ';
						$drawn = true;
					}
					$str .= $params;
					if ($drawn == true)
					$str = substr($str, 0, strlen($str)-2);
				}
				$str .= ')';
				$str .= "\n";
			}
		}
	
		return $str;
	}
static private function getTextBackTrace($backtrace) {
		$str = '';
	
		foreach ($backtrace as $step) {
			if ($step['function']!='getTextBackTrace' && $step['function']!='handle_error')
			{
				if (isset($step['file']) && isset($step['line'])) {
					$str .= "In ".$step['file'] . " at line ".$step['line'].": ";
				}
				if (isset($step['class']) && isset($step['type']) && isset($step['function'])) {
					$str .= $step['class'].$step['type'].$step['function'].'(';
				}
	
				if (is_array($step['args'])) {
					$drawn = false;
					$params = '';
					foreach ( $step['args'] as $param)
					{
						$params .= self::getPhpVariableAsText($param);
						//$params .= var_export($param, true);
						$params .= ', ';
						$drawn = true;
					}
					$str .= $params;
					if ($drawn == true)
					$str = substr($str, 0, strlen($str)-2);
				}
				$str .= ')';
				$str .= "\n";
			}
		}
	
		return $str;
	}
static private function getTextBackTrace ( $ backtrace ) { $ str = '' ; foreach ( $ backtrace as $ step ) { if ( $ step [ 'function' ] != 'getTextBackTrace' && $ step [ 'function' ] != 'handle_error' ) { if ( isset ( $ step [ 'file' ] ) && isset ( $ step [ 'line' ] ) ) { $ str .= "In " . $ step [ 'file' ] . " at line " . $ step [ 'line' ] . ": " ; } if ( isset ( $ step [ 'class' ] ) && isset ( $ step [ 'type' ] ) && isset ( $ step [ 'function' ] ) ) { $ str .= $ step [ 'class' ] . $ step [ 'type' ] . $ step [ 'function' ] . '(' ; } if ( is_array ( $ step [ 'args' ] ) ) { $ drawn = false ; $ params = '' ; foreach ( $ step [ 'args' ] as $ param ) { $ params .= self :: getPhpVariableAsText ( $ param ) ; //$params .= var_export($param, true);
 $ params .= ', ' ; $ drawn = true ; } $ str .= $ params ; if ( $ drawn == true ) $ str = substr ( $ str , 0 , strlen ( $ str ) - 2 ) ; } $ str .= ')' ; $ str .= "\n" ; } } return $ str ; }
Returns the Exception Backtrace as a text string.

@param unknown_type $backtrace
@return unknown
Returns the Exception Backtrace as a text string .