init

Function init 

Source
pub fn init(
    filter: EnvFilter,
    format: LogFormat,
) -> impl FnOnce(&mut Config, bool, bool) -> Result<TracingState, Error>
Expand description

Setup tracing. Since we know the settings of some subscribers only once the full configuration has been loaded, this returns an FnOnce to complete setup when the config is available.