Function devtools::try_init

source ·
pub fn try_init<R: Runtime>() -> Result<TauriPlugin<R>, Error>
Expand description

Initializes the global tracing subscriber.

See Builder::try_init for details and documentation.

Errors

This function will fail if it is called more than once, or if another library has already initialized a global tracing subscriber.