gorilla / mux

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍
https://gorilla.github.io
BSD 3-Clause "New" or "Revised" License
20.92k stars 1.85k forks source link

Add middleware logging functionality and test case #775

Open oozan opened 6 days ago

oozan commented 6 days ago

What type of PR is this? (check all applicable)

Description

This PR adds a UseWithLogging method for middleware, allowing developers to log middleware execution by providing a name. This helps debug and trace middleware flow.

Changes

Related Tickets & Documents

None.

Added/updated tests?

Run verifications and test