Skip to main content

set_posthog_api_key

Function set_posthog_api_key 

Source
pub fn set_posthog_api_key(key: &str)
Expand description

Sets the PostHog project API key used by flush.

An empty string disables the PostHog flush entirely.