LogError logs the errStr with the context from req.
(req *http.Request, errStr string)
| 775 | |
| 776 | // LogError logs the errStr with the context from req. |
| 777 | func LogError(req *http.Request, errStr string) { |
| 778 | uri := GetRequestURI(req) |
| 779 | remoteAddr := GetQuotedRemoteAddr(req) |
| 780 | logger.Errorf("uri: %s, remote address: %q: %s", uri, remoteAddr, errStr) |
| 781 | } |
no test coverage detected
searching dependent graphs…