Skip to content

Add request logging middleware#4

Open
callumyuille wants to merge 1 commit into
mainfrom
add-logging-middleware
Open

Add request logging middleware#4
callumyuille wants to merge 1 commit into
mainfrom
add-logging-middleware

Conversation

@callumyuille

Copy link
Copy Markdown
Owner

Wrap the router with middleware that logs method, path, status, and latency for every request. Includes a status-capturing ResponseWriter and unit tests.

Wrap the router with middleware that logs method, path, status, and
latency for every request. Includes a status-capturing ResponseWriter
and unit tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant