Instead of logging the best practice has become to expose metrics. The most obvious option is using [prometheus](https://prometheus.io/docs/guides/go-application/). Some prior art wrt to chi-middleware can be found [here](https://github.com/766b/chi-prometheus/blob/master/middleware.go)