Directories
¶
| Path | Synopsis |
|---|---|
|
Package loghttp provides HTTP middleware that derives a per-request logger from a base loglayer.LogLayer and stores it in the request context, so downstream handlers can log with request-scoped fields automatically.
|
Package loghttp provides HTTP middleware that derives a per-request logger from a base loglayer.LogLayer and stores it in the request context, so downstream handlers can log with request-scoped fields automatically. |
|
Package sloghandler exposes a log/slog.Handler backed by a [*loglayer.LogLayer], so any code emitting through slog (your own `slog.Info(...)` calls, or library code that accepts a `*slog.Logger`) flows through loglayer's plugin pipeline, fan-out, and groups.
|
Package sloghandler exposes a log/slog.Handler backed by a [*loglayer.LogLayer], so any code emitting through slog (your own `slog.Info(...)` calls, or library code that accepts a `*slog.Logger`) flows through loglayer's plugin pipeline, fan-out, and groups. |
Click to show internal directories.
Click to hide internal directories.