(method string, res any, err error)
| 25 | } |
| 26 | |
| 27 | func (d *debugReader) log(method string, res any, err error) { |
| 28 | if err != nil { |
| 29 | d.l.Printf("(%T).%s() → ERROR: %v", d.r, method, err) |
| 30 | } else { |
| 31 | d.l.Printf("(%T).%s() → %#v", d.r, method, res) |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | func (d *debugReader) Protocol() Protocol { |
| 36 | return d.r.Protocol() |
no outgoing calls
no test coverage detected