func (r *ConsoleSpanReporter) ReportSpan(span tracer.RawSpan) {
	decision := !span.Context.IsSampled() || *span.Context.SamplingDecision()
	sampled := ""
	if !decision {
		sampled = " [not sampled]"
	}

	tags := prepareTags(span)
	parents, followsFrom := prepareReferences(span)

	line, err := senders.SpanLine(span.Operation, span.Start.UnixNano()/1000000, span.Duration.Nanoseconds()/1000000, r.source,
		span.Context.TraceID, span.Context.SpanID, parents, followsFrom, tags, nil, "")

	if err != nil {
		log.Printf("SpanLine Error: %v", err)
	} else {
		log.Printf("SpanLine%s: %v", sampled, line)
	}
}
// ReportSpan complies with the `tracer.SpanReporter` interface.
ReportSpan complies with the `tracer.SpanReporter` interface.
// ReportSpan complies with the ` tracer . SpanReporter ` interface .
func (r *ConsoleSpanReporter) ReportSpan(span tracer.RawSpan) {
	decision := !span.Context.IsSampled() || *span.Context.SamplingDecision()
	sampled := ""
	if !decision {
		sampled = " [not sampled]"
	}
	tags := prepareTags(span)
	parents, followsFrom := prepareReferences(span)
	line, err := senders.SpanLine(span.Operation, span.Start.UnixNano()/1000000, span.Duration.Nanoseconds()/1000000, r.source,
		span.Context.TraceID, span.Context.SpanID, parents, followsFrom, tags, nil, "")
	if err != nil {
		log.Printf("SpanLine Error: %v", err)
	} else {
		log.Printf("SpanLine%s: %v", sampled, line)
	}
}
func ( r * ConsoleSpanReporter ) ReportSpan ( span tracer . RawSpan ) { decision := ! span . Context . IsSampled ( ) || * span . Context . SamplingDecision ( ) sampled := " " if ! decision { sampled = " " } tags := prepareTags ( span ) parents , followsFrom := prepareReferences ( span ) line , err := senders . SpanLine ( span . Operation , span . Start . UnixNano ( ) / 1000000 , span . Duration . Nanoseconds ( ) / 1000000 , r . source , span . Context . TraceID , span . Context . SpanID , parents , followsFrom , tags , nil , " " ) if err != nil { log . Printf ( " " , err ) } else { log . Printf ( " " , sampled , line ) } }
ReportSpan complies with the `tracer.SpanReporter` interface.
ReportSpan complies with the ` tracer . SpanReporter ` interface .