Struct tracing_log::trace_logger::TraceLogger [−][src]
👎 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]
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 Debug for TraceLogger
[src]
impl Default 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
pub fn max_level_hint(&self) -> Option<LevelFilter>
[src]
pub fn drop_span(&self, _id: Id)
[src]
pub fn current_span(&self) -> Current
[src]
pub unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TraceLogger
impl Send for TraceLogger
impl Sync for TraceLogger
impl Unpin for TraceLogger
impl UnwindSafe for TraceLogger
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,