Skip to main content

Crate substrate_trace

Crate substrate_trace 

Source
Expand description

§substrate-trace

Concrete TracePort adapters. The trait itself is defined in substrate-core so the application layer can emit events without depending on any adapter crate.

§Adapters

TypePurpose
NoopTraceSilently discards all events (useful as a default).
RecordingTraceStores events in memory for test assertions.
MultiTraceFans a single event stream out to N TracePorts.
AgilePlusTracePOSTs events to the AgilePlus API.
TraceraTracePOSTs events to the Tracera API.

Structs§

AgilePlusTrace
A TracePort that POSTs events to the AgilePlus API.
MultiTrace
A TracePort that fans every event out to N downstream TracePorts.
NoopTrace
A TracePort that silently discards every event.
RecordingTrace
An in-memory TracePort that records every event for later inspection.
TraceraTrace
A TracePort that POSTs events to the Tracera API.

Enums§

TraceEvent
A discriminated union of the three trace event kinds, stored by RecordingTrace.