logo

Type Definition tracing_subscriber::fmt::LayerBuilder[][src]

pub type LayerBuilder<S, N = DefaultFields, E = Format<Full>, W = fn() -> Stdout> = Layer<S, N, E, W>;
👎 Deprecated since 0.2.4:

a separate layer builder type is not necessary, Layers now support configuration

Expand description

A builder for Layer that logs formatted representations of tracing events and spans.

Note: As of tracing-subscriber 0.2.4, the separate builder type is now deprecated, as the Layer type itself supports all the builder’s configuration methods. This is now an alias for Layer.

Implementations

👎 Deprecated since 0.2.4:

LayerBuilder is no longer a separate type; this method is not necessary

Builds a Layer with the provided configuration.