Struct tracing_log::trace_logger::TraceLogger [−][src]
pub struct TraceLogger { /* fields omitted */ }
use the tracing
crate’s “log” feature flag instead
Expand description
A tracing
Subscriber
implementation that logs all recorded
trace events.
Note: This API has been deprecated since version 0.1.1. In order to emit
tracing
events as log
records, the “log” and “log-always” feature
flags on the tracing
crate should be used instead.
Implementations
👎 Deprecated since 0.1.1: use the tracing
crate’s “log” feature flag instead
use the tracing
crate’s “log” feature flag instead
Returns a new TraceLogger
with the default configuration.
Trait Implementations
Adds an indication that span
follows from the span with the id
follows
. Read more
Registers a new callsite with this subscriber, returning whether or not the subscriber is interested in being notified about the callsite. Read more
Returns the highest verbosity level that this Subscriber
will
enable, or None
, if the subscriber does not implement level-based
filtering or chooses not to implement this method. Read more
Returns a type representing this subscriber’s view of the current span. Read more