pub struct Root { /* private fields */ }
Expand description
Configuration for the root logger.
Implementations
sourceimpl Root
impl Root
sourcepub fn builder() -> RootBuilder
pub fn builder() -> RootBuilder
Creates a new RootBuilder
with no appenders.
sourcepub fn level(&self) -> LevelFilter
pub fn level(&self) -> LevelFilter
Returns the minimum level of log messages that the root logger will accept.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnwindSafe for Root
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more