func (c *Client) Logging() *Client {
	c.Conf.Log = true
	return c
}
Logging set log
package httpc
import (
	"bytes"
	"compress/gzip"
	"encoding/json"
	"encoding/xml"
	"errors"
	"fmt"
	"io"
	"io/ioutil"
	"mime/multipart"
	"net"
	"net/http"
	"net/http/cookiejar"
	"net/url"
	"os"
	"path"
	"strings"
	"time"
	"github.com/axfor/bast/logs"
	"github.com/axfor/bast/service"
	"gopkg.in/yaml.v2"
)
var (
	DefaultRetries = 3
	DefaultCookieJar http.CookieJar
	defaultTransport *http.Transport
	defaultClient    *http.Client
	before           func(*Client) error
	after            func(*Client)
	defaultDiscovery *service.Discovery
)
type Client struct {
	Req       *http.Request
	files     map[string]string
	params    url.Values
	client    *http.Client
	Conf      Settings
	Tag       string
	resp      *http.Response
	err       error
	body      []byte
	bodyClose bool
}
type Settings struct {
	Transport       http.RoundTripper
	EnableCookie    bool
	Retry           int
	Log             bool
	Title, LogTitle string
}
func (c *Client) MarkTag(tag string) *Client {
	c.Tag = tag
	return c
}
func (c *Client) Client(client *http.Client) *Client {
	if client != nil {
		c.client = client
	} else {
		c.client = defaultClient
	}
	return c
}
func (c *Client) Request(request *http.Request) *Client {
	if request != nil {
		c.Req = request
	}
	return c
}
func (c *Client) Title(title string) *Client {
	c.Conf.Title = title
	return c
}