Function tracing_subscriber::fmt::layer[][src]

pub fn layer<S>() -> Layer<S>
This is supported on crate feature fmt only.

Returns a new formatting layer that can be composed with other layers to construct a Subscriber.

This is a shorthand for the equivalent Layer::default function.