public static function trace($options = [])
    {
        $defaults = [
            'trace' => [],
            'array' => false
        ];
        $options += $defaults;
        $back = [];
        $backtrace = static::backtrace($options);

        foreach ($backtrace as $trace) {
            $back[] = static::_traceToString($trace);
        }
        return $options['array'] ? $back : join("\n", $back);
    }