func (cli *MakisuClient) SetWorkerLog(fn func(line string)) {
	cli.WorkerLog = fn
}
SetWorkerLog sets the function called on every worker log line.
package client
import (
	"bufio"
	"bytes"
	"encoding/json"
	"fmt"
	"io"
	"math/rand"
	"net"
	"net/http"
	"os"
	"path/filepath"
	"strconv"
	"time"
	"github.com/uber/makisu/lib/fileio"
	"github.com/uber/makisu/lib/log"
)
type MakisuClient struct {
	LocalSharedPath  string
	WorkerSharedPath string
	WorkerLog func(line string)
	HTTPDo    func(req *http.Request) (*http.Response, error)
}
func New(socket, localPath, workerPath string) *MakisuClient {
	cli := &http.Client{
		Transport: &http.Transport{
			Dial: func(p, a string) (net.Conn, error) {
				return net.Dial("unix", socket)
			},
		},
	}
	return &MakisuClient{
		LocalSharedPath:  localPath,
		WorkerSharedPath: workerPath,
		WorkerLog: func(line string) { fmt.Fprintf(os.Stderr, line+"\n") },
		HTTPDo:    cli.Do,
	}
}