コード例 #1
0
        public override string ToString()
        {
            var sb = new StringBuilder("SpanRef(");

            sb.Append(", RefType: ");
            RefType.ToString(sb);
            sb.Append(", TraceIdLow: ");
            TraceIdLow.ToString(sb);
            sb.Append(", TraceIdHigh: ");
            TraceIdHigh.ToString(sb);
            sb.Append(", SpanId: ");
            SpanId.ToString(sb);
            sb.Append(')');
            return(sb.ToString());
        }
コード例 #2
0
        public override string ToString()
        {
            var sb = new StringBuilder("Span(");

            sb.Append(", TraceIdLow: ");
            TraceIdLow.ToString(sb);
            sb.Append(", TraceIdHigh: ");
            TraceIdHigh.ToString(sb);
            sb.Append(", SpanId: ");
            SpanId.ToString(sb);
            sb.Append(", ParentSpanId: ");
            ParentSpanId.ToString(sb);
            if ((OperationName != null))
            {
                sb.Append(", OperationName: ");
                OperationName.ToString(sb);
            }
            if ((References != null) && __isset.references)
            {
                sb.Append(", References: ");
                References.ToString(sb);
            }
            sb.Append(", Flags: ");
            Flags.ToString(sb);
            sb.Append(", StartTime: ");
            StartTime.ToString(sb);
            sb.Append(", Duration: ");
            Duration.ToString(sb);
            if ((Tags != null) && __isset.tags)
            {
                sb.Append(", Tags: ");
                Tags.ToString(sb);
            }
            if ((Logs != null) && __isset.logs)
            {
                sb.Append(", Logs: ");
                Logs.ToString(sb);
            }
            sb.Append(')');
            return(sb.ToString());
        }