[−][src]Struct tracing_log::TraceLogger
A tracing_core::Subscriber
implementation that logs all recorded
trace events.
Methods
impl TraceLogger
[src]
Trait Implementations
impl Default for TraceLogger
[src]
impl Debug 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]
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
[src]
Registers a new callsite with this subscriber, returning whether or not the subscriber is interested in being notified about the callsite. Read more
fn drop_span(&self, _id: Id)
[src]
Deprecated since 0.1.2:
use Subscriber::try_close
instead
This method is soft-deprecated. Read more
fn current_span(&self) -> Current
[src]
Returns a type representing this subscriber's view of the current span. Read more
unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>
[src]
If self
is the same type as the provided TypeId
, returns an untyped *const
pointer to that type. Otherwise, returns None
. Read more
Auto Trait Implementations
impl Sync for TraceLogger
impl Unpin for TraceLogger
impl Send for TraceLogger
impl UnwindSafe for TraceLogger
impl RefUnwindSafe for TraceLogger
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<S> SubscriberExt for S where
S: Subscriber,
[src]
S: Subscriber,