Documentation ¶
Index ¶
- func LogRequest(logger Logger, req *http.Request, reqID string)
- func LogRequestSensitive(logger Logger, req *http.Request, reqID string, sensitiveContent []string)
- func LogResponse(logger Logger, resp *http.Response, start time.Time, reqID string)
- func WriteLog(logger Logger, format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogRequestSensitive ¶ added in v1.5.4
func LogResponse ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.