Expand description
Global Flight Recorder buffer and convenience accessors.
Staticsยง
- FLIGHT_
RECORDER_ ๐BUFFER - Global Flight Recorder buffer, initialized during
init_sdk(). - FLIGHT_
RECORDER_ ๐LEVEL - Configured level floor for the global Flight Recorder, initialized during
init_sdk(). MirrorsFlightRecorderLayerโs level so that direct writes viawrite_flight_recorderhonor the same filter as the tracing layer.
Functionsยง
- flight_
recorder_ count - Get the current event count without reading event contents.
- get_
flight_ recorder_ buffer - Get the global Flight Recorder buffer.
- init_
flight_ recorder - Initialize the global Flight Recorder.
- read_
flight_ recorder - Read all events from the global Flight Recorder buffer.
- write_
flight_ recorder - Write a single externally-sourced event (e.g. from TypeScript) directly into the global buffer, honoring the configured level floor.