public static function dumpBacktrace(array $backtraces, string $format = "[%INDEX%]%CLASS%%TYPE%%FUNCTION%() in %FILE%(%LINE%)")
    {
        self::walkBacktrace($backtraces, function($index, $file, $line, $class, $type, $func) use($format){
            $line = strtr($format, [
                '%INDEX%' => $index + 1,
                '%FILE%' => $file,
                '%LINE%' => $line,
                '%CLASS%' => $class,
                '%TYPE%' => $type,
                '%FUNCTION%' => $func,
            ]);
            echo $line . PHP_EOL;
        });
    }