pub struct Logger { /* private fields */ }
Expand description
Configuration for a logger.
Implementations
sourceimpl Logger
impl Logger
sourcepub fn builder() -> LoggerBuilder
pub fn builder() -> LoggerBuilder
Creates a new LoggerBuilder
with the specified name and level.
There are initially no appenders attached and additive
is true
.
sourcepub fn level(&self) -> LevelFilter
pub fn level(&self) -> LevelFilter
Returns the minimum level of log messages that the logger will accept.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl UnwindSafe for Logger
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