Versions in this module Expand all Collapse all v1 v1.1.1 Nov 29, 2020 v1.1.0 Dec 8, 2019 Changes in this version type Middleware + func (m *Middleware) SetLogCompleted(v bool) v1.0.0 Dec 8, 2019 Changes in this version + func DefaultAfter(entry *logrus.Entry, res negroni.ResponseWriter, latency time.Duration, ...) *logrus.Entry + func DefaultBefore(entry *logrus.Entry, req *http.Request, remoteAddr string) *logrus.Entry + type AfterFunc func(*logrus.Entry, negroni.ResponseWriter, time.Duration, string) *logrus.Entry + type BeforeFunc func(*logrus.Entry, *http.Request, string) *logrus.Entry + type Middleware struct + After func(*logrus.Entry, negroni.ResponseWriter, time.Duration, string) *logrus.Entry + Before func(*logrus.Entry, *http.Request, string) *logrus.Entry + Logger *logrus.Logger + Name string + func NewCustomMiddleware(level logrus.Level, formatter logrus.Formatter, name string) *Middleware + func NewMiddleware() *Middleware + func NewMiddlewareFromLogger(logger *logrus.Logger, name string) *Middleware + func (m *Middleware) ExcludeURL(u string) error + func (m *Middleware) ExcludedURLs() []string + func (m *Middleware) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc) + func (m *Middleware) SetLogStarting(v bool)