[][src]Struct tracing_fmt::FmtSubscriber

pub struct FmtSubscriber<N = NewRecorder, E = Format<Full>, F = EnvFilter> { /* fields omitted */ }

A Subscriber that logs formatted representations of tracing events.

Methods

impl FmtSubscriber[src]

pub fn builder() -> Builder[src]

pub fn new() -> Self[src]

impl<N, E, F> FmtSubscriber<N, E, ReloadFilter<F, N>> where
    F: Filter<N> + 'static, 
[src]

pub fn reload_handle(&self) -> Handle<F, N>[src]

Returns a Handle that may be used to reload this subscriber's filter.

Trait Implementations

impl Default for FmtSubscriber[src]

impl<N: Debug, E: Debug, F: Debug> Debug for FmtSubscriber<N, E, F>[src]

impl<N, E, F> Subscriber for FmtSubscriber<N, E, F> where
    N: for<'a> NewVisitor<'a> + 'static,
    E: FormatEvent<N> + 'static,
    F: Filter<N> + 'static, 
[src]

fn drop_span(&self, _id: Id)[src]

Deprecated since 0.1.2:

use Subscriber::try_close instead

This method is soft-deprecated. Read more

Auto Trait Implementations

impl<N, E, F> Sync for FmtSubscriber<N, E, F> where
    E: Sync,
    F: Sync,
    N: Sync

impl<N, E, F> Send for FmtSubscriber<N, E, F> where
    E: Send,
    F: Send,
    N: Send

impl<N, E, F> Unpin for FmtSubscriber<N, E, F> where
    E: Unpin,
    F: Unpin,
    N: Unpin

impl<N = NewRecorder, E = Format<Full, SystemTime>, F = EnvFilter> !RefUnwindSafe for FmtSubscriber<N, E, F>

impl<N = NewRecorder, E = Format<Full, SystemTime>, F = EnvFilter> !UnwindSafe for FmtSubscriber<N, E, F>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T[src]

impl<S> SubscriberExt for S where
    S: Subscriber

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