(method string, arg any, err error)
| 130 | } |
| 131 | |
| 132 | func (d *debugWriter) log(method string, arg any, err error) { |
| 133 | if err != nil { |
| 134 | d.l.Printf("(%T).%s(%#v) → ERROR: %v", d.w, method, arg, err) |
| 135 | } else { |
| 136 | d.l.Printf("(%T).%s(%#v)", d.w, method, arg) |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | func (d *debugWriter) Protocol() Protocol { |
| 141 | return d.w.Protocol() |
no outgoing calls
no test coverage detected