func (s Stdout) Log(pr *proxy.ProxiedRequest) error {
	line := []string{
		chunk(pr.Request.RemoteAddr),
		chunk(""),
		chunk(""),
		chunk("[" + time.Now().Format("02/Jan/2006:15:04:05 -0700") + "]"),
		chunk("\"" + fmt.Sprintf("%s %s %s", pr.Request.Method, pr.Request.URL, pr.Request.Proto) + "\""),
		chunk(fmt.Sprintf("%d", pr.Response.StatusCode)),
		chunk(fmt.Sprintf("%d", pr.Response.ContentLength)),
	}
	fmt.Println(strings.Join(line, " "))
	return nil
}
Log prints a standard log string to the system.
package logger
import (
	"fmt"
	"strings"
	"time"
	"github.com/malfunkt/hyperfox/pkg/proxy"
)
func chunk(value string) string {
	if value == "" {
		return "-"
	}
	return value
}
type Stdout struct {
}