pub fn init_sdk(
log_level: Option<LogLevel>,
flight_recorder_level: Option<LogLevel>,
flight_recorder_buffer_size: Option<usize>,
)Expand description
Initialize the SDK. Must be called before using any other API. Only the first invocation has effect; subsequent calls are ignored.
log_level: Minimum level for console output. Defaults toInfo.flight_recorder_level: Minimum level for the flight recorder. Defaults toInfo.flight_recorder_buffer_size: Ring-buffer capacity for the flight recorder. Defaults to 1000. Pass0to disable the flight recorder entirely.