pub fn init(layers: Vec<Box<dyn Layer<Registry> + Send + Sync + 'static>>)
Creates a Registry, adds the given Layers to it, and attempts to set itself as the global default subscriber in the current scope, panicking if this fails.
Registry
Layer
See init
init