MCPcopy Index your code
hub / github.com/apache/answer-plugins / Do

Method Do

search-elasticsearch/es_log.go:33–41  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

31}
32
33func (l LoggingHttpClient) Do(r *http.Request) (*http.Response, error) {
34 requestDump, err := httputil.DumpRequest(r, true)
35 if err != nil {
36 log.Errorf("dump request failed: %s", err.Error())
37 return nil, err
38 }
39 log.Debugf("es search request: %s", string(requestDump))
40 return l.c.Do(r)
41}
42
43type ErrLogger struct {
44}

Callers 4

CreateIndexMethod · 0.80
QueryDocMethod · 0.80
SaveDocMethod · 0.80
DeleteDocMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected