Type Definition tracing_subscriber::fmt::LayerBuilder [−][src]
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, Layer
s now support configuration
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
impl<S, N, E, W> LayerBuilder<S, N, E, W> where
S: Subscriber + for<'a> LookupSpan<'a>,
N: for<'writer> FormatFields<'writer> + 'static,
E: FormatEvent<S, N> + 'static,
W: MakeWriter + 'static,
[src]
S: Subscriber + for<'a> LookupSpan<'a>,
N: for<'writer> FormatFields<'writer> + 'static,
E: FormatEvent<S, N> + 'static,
W: MakeWriter + 'static,