TraceContext.Extraction.show: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext Lines 3190-3196 of bend-trace-context@0.2.0.0/trace_context.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&start_line=3190&end_line=3196 import Base # Both outcomes of an extraction, for a log line: "TraceParentAccepted, # StateDiscarded InvalidEntry 1 MissingEquals" for example. No received # value is included, so the line can be logged as it is. def Extraction.show(extraction: Extraction) -> String: match extraction: case Extraction{context, parent, state}: TraceParentOutcome.show(parent) ++ ", " ++ StateOutcome.show(state) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=Extraction https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=StateOutcome.show https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=TraceParentOutcome.show