Struct tracing_log::trace_logger::Builder [−][src]
pub struct Builder { /* fields omitted */ }
use the tracing
crate’s “log” feature flag instead
Expand description
Configures and constructs a TraceLogger
.
Implementations
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Configures whether or not the TraceLogger
being constructed will log
when a span closes.
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Configures whether or not the TraceLogger
being constructed will
include the fields of parent spans when formatting events.
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Configures whether or not the TraceLogger
being constructed will log
when a span is entered.
If this is set to false, fields from the current span will still be recorded as context, but the actual entry will not create a log record.
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Configures whether or not the TraceLogger
being constructed will log
when a span is exited.
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Configures whether or not the TraceLogger
being constructed will
include span IDs when formatting log output.
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Configures whether or not the TraceLogger
being constructed will
include the names of parent spans as context when formatting events.
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Complete the builder, returning a configured TraceLogger
.