[−][src]Struct tracing_subscriber::fmt::Subscriber
A Subscriber
that logs formatted representations of tracing
events.
This consists of an innerFormatter
wrapped in a layer that performs filtering.
Methods
impl Subscriber
[src]
pub const DEFAULT_MAX_LEVEL: LevelFilter
[src]
The maximum verbosity level that is enabled by a Subscriber
by
default.
This can be overridden with the Builder::with_max_level
method.
pub fn builder() -> Builder
[src]
Returns a new Builder
for configuring a format subscriber.
pub fn new() -> Self
[src]
Returns a new format subscriber with the default configuration.
Trait Implementations
impl Default for Subscriber
[src]
impl<N: Debug, E: Debug, F: Debug, W: Debug> Debug for Subscriber<N, E, F, W>
[src]
impl<N, E, F, W> Subscriber for Subscriber<N, E, F, W> where
N: for<'a> NewVisitor<'a> + 'static,
E: FormatEvent<N> + 'static,
F: Layer<Formatter<N, E, W>> + 'static,
W: MakeWriter + 'static,
Layered<F, Formatter<N, E, W>>: Subscriber,
[src]
N: for<'a> NewVisitor<'a> + 'static,
E: FormatEvent<N> + 'static,
F: Layer<Formatter<N, E, W>> + 'static,
W: MakeWriter + 'static,
Layered<F, Formatter<N, E, W>>: Subscriber,
fn register_callsite(&self, meta: &'static Metadata<'static>) -> Interest
[src]
fn enabled(&self, meta: &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 event(&self, event: &Event)
[src]
fn enter(&self, id: &Id)
[src]
fn exit(&self, id: &Id)
[src]
fn current_span(&self) -> Current
[src]
fn clone_span(&self, id: &Id) -> Id
[src]
fn try_close(&self, id: Id) -> bool
[src]
unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>
[src]
fn drop_span(&self, _id: Id)
[src]
Auto Trait Implementations
impl<N, E, F, W> Send for Subscriber<N, E, F, W> where
E: Send,
F: Send,
N: Send,
W: Send,
E: Send,
F: Send,
N: Send,
W: Send,
impl<N, E, F, W> Sync for Subscriber<N, E, F, W> where
E: Sync,
F: Sync,
N: Sync,
W: Sync,
E: Sync,
F: Sync,
N: Sync,
W: Sync,
impl<N, E, F, W> Unpin for Subscriber<N, E, F, W> where
E: Unpin,
F: Unpin,
N: Unpin,
W: Unpin,
E: Unpin,
F: Unpin,
N: Unpin,
W: Unpin,
impl<N, E, F, W> RefUnwindSafe for Subscriber<N, E, F, W> where
E: RefUnwindSafe,
F: RefUnwindSafe,
N: RefUnwindSafe,
W: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
N: RefUnwindSafe,
W: RefUnwindSafe,
impl<N, E, F, W> UnwindSafe for Subscriber<N, E, F, W> where
E: UnwindSafe,
F: UnwindSafe,
N: UnwindSafe,
W: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
N: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<S> SubscriberExt for S where
S: Subscriber,
[src]
S: Subscriber,
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.
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,