Struct tracing_log::trace_logger::TraceLogger
source · pub struct TraceLogger { /* private fields */ }
👎Deprecated since 0.1.1: use the
tracing
crate’s “log” feature flag insteadExpand 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§
source§impl TraceLogger
impl TraceLogger
Trait Implementations§
source§impl Debug for TraceLogger
impl Debug for TraceLogger
source§impl Default for TraceLogger
impl Default for TraceLogger
source§impl Subscriber for TraceLogger
impl Subscriber for TraceLogger
source§fn new_span(&self, attrs: &Attributes<'_>) -> Id
fn new_span(&self, attrs: &Attributes<'_>) -> Id
source§fn record_follows_from(&self, span: &Id, follows: &Id)
fn record_follows_from(&self, span: &Id, follows: &Id)
source§fn clone_span(&self, id: &Id) -> Id
fn clone_span(&self, id: &Id) -> Id
source§fn on_register_dispatch(&self, subscriber: &Dispatch)
fn on_register_dispatch(&self, subscriber: &Dispatch)
source§fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
source§fn max_level_hint(&self) -> Option<LevelFilter>
fn max_level_hint(&self) -> Option<LevelFilter>
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 moresource§fn event_enabled(&self, event: &Event<'_>) -> bool
fn event_enabled(&self, event: &Event<'_>) -> bool
source§fn drop_span(&self, _id: Id)
fn drop_span(&self, _id: Id)
👎Deprecated since 0.1.2: use
Subscriber::try_close
insteadThis method is deprecated. Read more
source§fn current_span(&self) -> Current
fn current_span(&self) -> Current
Returns a type representing this subscriber’s view of the current span. Read more