Skip to main content

init

Function init 

Source
pub fn init(config: DiagnosticsConfig)
Expand description

Initialize the diagnostics system with the given configuration.

Can only be called once (uses OnceCell). Subsequent calls are silently ignored.