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

Method log

thrift/debug.go:132–138  ·  view source on GitHub ↗
(method string, arg any, err error)

Source from the content-addressed store, hash-verified

130}
131
132func (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
140func (d *debugWriter) Protocol() Protocol {
141 return d.w.Protocol()

Callers 14

WriteBoolMethod · 0.95
WriteInt8Method · 0.95
WriteInt16Method · 0.95
WriteInt32Method · 0.95
WriteInt64Method · 0.95
WriteFloat64Method · 0.95
WriteBytesMethod · 0.95
WriteStringMethod · 0.95
WriteLengthMethod · 0.95
WriteMessageMethod · 0.95
WriteFieldMethod · 0.95
WriteListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected