pub struct Logger {
pub appenders: HashSet<AppenderId>,
pub level: LevelFilter,
pub format: Format,
}Expand description
A logger allows for filtering events and delegating to multiple appenders.
Fields§
§appenders: HashSet<AppenderId>§level: LevelFilter§format: FormatTrait Implementations§
impl Eq for Logger
impl StructuralPartialEq for Logger
Auto Trait Implementations§
impl Freeze for Logger
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