MCPcopy Index your code
hub / github.com/imroc/req / EnableDebugLog

Method EnableDebugLog

client.go:544–547  ·  view source on GitHub ↗

EnableDebugLog enable debug level log (disabled by default).

()

Source from the content-addressed store, hash-verified

542
543// EnableDebugLog enable debug level log (disabled by default).
544func (c *Client) EnableDebugLog() *Client {
545 c.DebugLog = true
546 return c
547}
548
549// DevMode enables:
550// 1. Dump content of all requests and responses to see details.

Callers 5

SetDebugMethod · 0.95
TestDebugLogFunction · 0.80
DevModeMethod · 0.80
EnableDebugLogFunction · 0.80
initFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestDebugLogFunction · 0.64