Versions in this module Expand all Collapse all v12 v12.1.9 Aug 12, 2022 Changes in this version + func Columnize(nowFormatted string, latency time.Duration, status, ip, method, path string, ...) string + func New(cfg ...Config) context.Handler + type Config struct + Columns bool + IP bool + LogFunc func(endTime time.Time, latency time.Duration, status, ip, method, path string, ...) + LogFuncCtx func(ctx context.Context, latency time.Duration) + MessageContextKeys []string + MessageHeaderKeys []string + Method bool + Path bool + Query bool + Skippers []SkipperFunc + Status bool + func DefaultConfig() Config + func (c *Config) AddSkipper(sk SkipperFunc) + type SkipperFunc func(ctx context.Context) bool