logStatus will log the request status, but NOT the duration of the request. This is used for indefinitely-long handlers like _changes that we don't want to track duration of
(status int, message string)
| 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 |
| 863 | func (h *handler) logStatus(status int, message string) { |
| 864 | h.setStatus(status, message) |
| 865 | h.logDuration(false) // don't track actual time |
| 866 | } |
| 867 | |
| 868 | func needRolesForAudit(db *db.DatabaseContext, domain base.UserIDDomain) bool { |
| 869 | // early returns when auditing is disabled |
no test coverage detected