Function sentry_contrib_native::start_session
source · [−]pub fn start_session()
Expand description
Starts a new session. By default sessions are started automatically on
Options::init
.
Examples
let mut options = Options::new();
options.set_auto_session_tracking(false);
let _shutdown = options.init()?;
start_session();