MCPcopy Create free account
hub / github.com/segmentio/encoding / log

Method log

thrift/debug.go:27–33  ·  view source on GitHub ↗
(method string, res any, err error)

Source from the content-addressed store, hash-verified

25}
26
27func (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
35func (d *debugReader) Protocol() Protocol {
36 return d.r.Protocol()

Callers 14

ReadBoolMethod · 0.95
ReadInt8Method · 0.95
ReadInt16Method · 0.95
ReadInt32Method · 0.95
ReadInt64Method · 0.95
ReadFloat64Method · 0.95
ReadBytesMethod · 0.95
ReadStringMethod · 0.95
ReadLengthMethod · 0.95
ReadMessageMethod · 0.95
ReadFieldMethod · 0.95
ReadListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected