MSP-8520 up deps

This commit is contained in:
Павел Комиссаров committed 2026-09-03 18:05:39 +03:00
1 parent c14f8441fb
commit 884aa6a439
304 files changed
+18223 -4352

No files matched your search

+11
View File
@@ -39,6 +39,17 @@ func LogDump(dumpRequest bool, dumpResponse bool) LogOption {
}
}
// LogBody enables logging of the HTTP request and/or response body.
//
// requestBody controls logging of the request body, and responseBody
// controls logging of the response body.
func LogBody(requestBody bool, responseBody bool) LogOption {
return func(cfg *logConfig) {
cfg.LogRequestBody = requestBody
cfg.LogResponseBody = responseBody
}
}
// LogHeaders enables logging of HTTP request and response headers.
func LogHeaders(requestHeaders bool, responseHeaders bool) LogOption {
return func(cfg *logConfig) {