mirror of
https://github.com/Crocmagnon/lyon-transports.git
synced 2024-11-21 13:38:06 +01:00
update log msg
This commit is contained in:
parent
de3e535f81
commit
4a906473de
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -138,7 +138,7 @@ func logging(ctx huma.Context, next func(huma.Context)) {
|
|||
start := time.Now()
|
||||
next(ctx)
|
||||
elapsed := time.Since(start)
|
||||
slog.InfoContext(ctx.Context(), "response",
|
||||
slog.InfoContext(ctx.Context(), "received request",
|
||||
"method", ctx.Method(),
|
||||
"path", ctx.URL().Path,
|
||||
"status", ctx.Status(),
|
||||
|
|
Loading…
Reference in a new issue