Versions in this module Expand all Collapse all v0 v0.1.0 Nov 20, 2022 Changes in this version + func M(l Logger) func(next http.Handler) http.Handler + func WithEvent(r *http.Request, entry Event) *http.Request + type Entry struct + Logger logr.Logger + func (e *Entry) Panic(v any) + func (e *Entry) WithField(k string, v any) Event + func (e *Entry) Write(p harwp.ResponseWriterProxier, elapsed time.Duration) + type Event interface + WithField func(k string, v any) Event + Write func(p harwp.ResponseWriterProxier, since time.Duration) + func GetEvent(r *http.Request) Event + type FieldLogger struct + Logger logr.Logger + func New(logger logr.Logger) *FieldLogger + func (l *FieldLogger) NewLogEntry(r *http.Request) Event + type Logger interface + NewLogEntry func(r *http.Request) Event