Skip to main content

set_flight_recorder_sink

Function set_flight_recorder_sink 

Source
pub fn set_flight_recorder_sink(sink: Arc<dyn FlightRecorderSink>)
Expand description

Replace the global Flight Recorder’s active sink. Events already in the local buffer stay there. No-op if init_flight_recorder has not been called.