[][src]Struct tracing_log::TraceLogger

pub struct TraceLogger { /* fields omitted */ }

A tracing_core::Subscriber implementation that logs all recorded trace events.

Methods

impl TraceLogger[src]

pub fn new() -> Self[src]

pub fn builder() -> Builder[src]

Trait Implementations

impl Default for TraceLogger[src]

impl Debug for TraceLogger[src]

impl Subscriber for TraceLogger[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

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<S> SubscriberExt for S where
    S: Subscriber
[src]

fn with<L>(self, layer: L) -> Layered<L, Self, Self> where
    L: Layer<Self>, 
[src]