def Extraction.show

bend-trace-context@0.2.0.0 · trace_context.bend:3190

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

3190# Both outcomes of an extraction, for a log line: "TraceParentAccepted,
3191# StateDiscarded InvalidEntry 1 MissingEquals" for example. No received
3192# value is included, so the line can be logged as it is.
3193def Extraction.show(extraction: Extraction) -> String:
3194  match extraction:
3195    case Extraction{context, parent, state}:
3196      TraceParentOutcome.show(parent) ++ ", " ++ StateOutcome.show(state)

Uses (5)

Used by (0)

No other definition uses this definition.