Struct tracing_log::TraceLogger [−][src]
pub struct TraceLogger { /* fields omitted */ }
👎 Deprecated since 0.1.1:
use the tracing
crate’s “log” feature flag instead
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
impl TraceLogger
[src]
impl TraceLogger
[src]pub fn new() -> Self
[src]
👎 Deprecated since 0.1.1:
use the tracing
crate’s “log” feature flag instead
Returns a new TraceLogger
with the default configuration.
pub fn builder() -> Builder
[src]
👎 Deprecated since 0.1.1:
use the tracing
crate’s “log” feature flag instead
Returns a Builder
for configuring a TraceLogger
.
Trait Implementations
impl Default for TraceLogger
[src]
impl Default for TraceLogger
[src]impl Subscriber for TraceLogger
[src]
impl Subscriber for TraceLogger
[src]fn enabled(&self, metadata: &Metadata<'_>) -> bool
[src]
fn new_span(&self, attrs: &Attributes<'_>) -> Id
[src]
fn record(&self, span: &Id, values: &Record<'_>)
[src]
fn record_follows_from(&self, span: &Id, follows: &Id)
[src]
fn enter(&self, id: &Id)
[src]
fn exit(&self, id: &Id)
[src]
fn event(&self, event: &Event<'_>)
[src]
fn clone_span(&self, id: &Id) -> Id
[src]
fn try_close(&self, id: Id) -> bool
[src]
pub fn register_callsite(
&self,
metadata: &'static Metadata<'static>
) -> Interest
[src]
&self,
metadata: &'static Metadata<'static>
) -> Interest