logStatusWithDuration will log the request status and the duration of the request.
(status int, message string)
| 854 | |
| 855 | // logStatusWithDuration will log the request status and the duration of the request. |
| 856 | func (h *handler) logStatusWithDuration(status int, message string) { |
| 857 | h.setStatus(status, message) |
| 858 | h.logDuration(true) |
| 859 | } |
| 860 | |
| 861 | // logStatus will log the request status, but NOT the duration of the request. |
| 862 | // This is used for indefinitely-long handlers like _changes that we don't want to track duration of |
no test coverage detected