flutter_flight_recorder library

Backward compatibility export

Classes

DeviceContext
Captures immutable or semi-static device and OS context.
FlightRecorder
Master coordinator for the Flutter Flight Recorder engine.
FRConfig
Configuration knobs for the FlightRecorder engine.
FRHttpClient
Drop-in http.BaseClient wrapper that transparently captures telemetry without mutating requests or responses.
GzipPusher
Handles in-memory gzip compression and fire-and-forget HTTP dispatch to the ingestion gateway.
LogBuffer
Thread-safe in-memory time-indexed log buffer with atomic timestamp slicing and draining.
LogEntry
Represents an atomic log event recorded in the flight recorder buffer.
LogSet
Represents a single push bundle containing delta logs, storage snapshots, and metadata.
MaskingEngine
High-performance sanitizer that obscures tokens, credentials, and sensitive PII.
StorageSnapshotter
Captures safe, sanitized, and bounded snapshots of SharedPreferences and FlutterSecureStorage.

Typedefs

HttpTelemetryLogger = void Function({required int durationMs, Map<String, dynamic>? extra, required String method, required int? statusCode, required String url})
Callback type for network telemetry logging.