Expand description
Go request_logging.go / response_writer.go and request_logger_writer.go. Request bodies in these files are intentionally unredacted, as in Go. Headers and URL queries are masked before writing; management routes are never captured.
Structs§
- Request
Log - Cloneable per-request sink carried in HTTP extensions. Capture helpers must mask upstream credentials before passing preformatted API sections, as in Go.
- Websocket
Log - Connection-owned timeline sink. Explicit
close().awaitwaits for the durable log; dropping the sink also schedules finalization on client disconnect.
Functions§
- router
- Install inside access logging so the UUID is already in request extensions. Commercial mode is a construction-time choice, exactly like Go’s server.