pub fn init(mode: LogMode, verbose: bool) -> Option<SentryGuard>Expand description
Initialize the tracing subscriber and (optionally) Sentry.
Call once at program startup, before any tracing macros fire.
The returned guard (if Some) must be held until program exit so
that pending Sentry events are flushed on drop.