init

Function init 

Source
pub fn init(tag: impl ToString)
Expand description

Creates a Subscriber with the given tag and attempts to set it as the global default subscriber in the current scope, panicking if this fails.