pub struct Logger { /* private fields */ }
Expand description
A logger working inside a Sidevm.
Implementations§
Source§impl Logger
impl Logger
Sourcepub fn with_max_level(max_level: LevelFilter) -> Self
pub fn with_max_level(max_level: LevelFilter) -> Self
Create a new logger with the given maximum level.
Trait Implementations§
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