pub fn write_flight_recorder(event: FlightRecorderEvent, level: Level)Expand description
Write a single externally-sourced event (e.g. from TypeScript) into the global Flight Recorder’s active sink, honoring the configured level floor.
This mirrors FlightRecorderLayer’s filter so that events routed around
the tracing pipeline are subject to the same level check. Events more verbose
than the configured floor are dropped. No-op if init_flight_recorder has
not been called.