Lines Matching refs:trInfo
212 var trInfo traceInfo
214 trInfo.tr = trace.New("grpc.Sent."+methodFamily(method), method)
215 trInfo.firstLine.client = true
217 trInfo.firstLine.deadline = deadline.Sub(time.Now())
219 trInfo.tr.LazyLog(&trInfo.firstLine, false)
220 ctx = trace.NewContext(ctx, trInfo.tr)
225 trInfo.tr.LazyPrintf("RPC: [%v]", err)
226 trInfo.tr.SetError()
227 trInfo.tr.Finish()
310 trInfo: trInfo,
375 trInfo traceInfo member
477 if a.trInfo.tr != nil {
478 a.trInfo.tr.LazyLog(&payload{sent: true, msg: m}, true)
554 if a.trInfo.tr != nil {
555 a.trInfo.tr.LazyLog(&payload{sent: false, msg: m}, true)
614 if a.trInfo.tr != nil {
616 a.trInfo.tr.LazyPrintf("RPC: [OK]")
618 a.trInfo.tr.LazyPrintf("RPC: [%v]", err)
619 a.trInfo.tr.SetError()
621 a.trInfo.tr.Finish()
622 a.trInfo.tr = nil
661 trInfo *traceInfo member
692 if ss.trInfo != nil {
694 if ss.trInfo.tr != nil {
696 ss.trInfo.tr.LazyLog(&payload{sent: true, msg: m}, true)
698 ss.trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true)
699 ss.trInfo.tr.SetError()
736 if ss.trInfo != nil {
738 if ss.trInfo.tr != nil {
740 ss.trInfo.tr.LazyLog(&payload{sent: false, msg: m}, true)
742 ss.trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true)
743 ss.trInfo.tr.SetError()