Versions in this module Expand all Collapse all v0 v0.7.0 Dec 13, 2018 v0.1.1 Aug 9, 2018 Changes in this version + type Entry struct + Latency time.Duration + Proto string + ReceivedTime time.Time + Referer string + RemoteIP string + RequestBodySize int64 + RequestHeaderSize int64 + RequestMethod string + RequestURL string + ResponseBodySize int64 + ResponseHeaderSize int64 + ServerIP string + Status int + UserAgent string + type Handler struct + func NewHandler(log Logger, h http.Handler) *Handler + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Logger interface + Log func(*Entry) + type NCSALogger struct + func NewNCSALogger(w io.Writer, onErr func(error)) *NCSALogger + func (l *NCSALogger) Log(ent *Entry) + type StackdriverLogger struct + func NewStackdriverLogger(w io.Writer, onErr func(error)) *StackdriverLogger + func (l *StackdriverLogger) Log(ent *Entry)