Skip to main content

layer

Function layer 

Source
pub fn layer(config: Config) -> Result<(LogLayer, Handle), InitError>
Expand description

The fleet layer without installing anything global, for a caller that composes its own tracing subscriber stack. Unlike init, it installs no global subscriber and no panic hook (Handle::install_panic_hook does that), and installed does not return its handle.