pub struct Builder { /* private fields */ }
Implementations§
Source§impl Builder
impl Builder
pub fn new() -> Self
pub fn with_level(self, enable: bool) -> Self
pub fn with_target(self, enable: bool) -> Self
pub fn with_span_name(self, enable: bool) -> Self
pub fn with_span_path(self, enable: bool) -> Self
pub fn with_location(self, enable: bool) -> Self
pub fn with_module_path(self, enable: bool) -> Self
pub fn with_timestamp(self, enable: bool) -> Self
pub fn layer<S>(self) -> Layer<S, FieldsFormatter, EventsFormatter>where
S: Subscriber + for<'a> LookupSpan<'a>,
pub fn subscriber_builder( self, ) -> SubscriberBuilder<FieldsFormatter, EventsFormatter>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more