You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
Concise mode should print flat fields only, e.g. req_headers="", resp_body, resp_bytes, resp_status
Consider renaming to "Verbose" / "Flat" etc.? It's not that this would be useful for development only -- it's the opposite, it's because we need a "flat" and "consise" log output for log collectors/ingestion.
Consider splitting httplog.Handler into httplog.NewConciseHandler()/httplog.NewFlatHandler()/httplog.NewVerboseHandler() etc. and make it an explicit dependency into the httplog.Options.. .r.Use(httplog.RequestLogger(slog.Default(), &httplog.Options{