pub struct Logger { /* private fields */ }
Expand description
Configuration for a logger.
Implementations§
source§impl 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§
source§impl PartialEq for Logger
impl PartialEq for Logger
impl Eq for Logger
impl StructuralPartialEq for Logger
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§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.