pub struct Logger { /* private fields */ }Expand description
The Logger is a helper struct that displays log messages to the terminal.
If the feature tui is activated, it also displays some nice TUI animations.
Use the functions Logger::info, Logger::warning, Logger::error to emit log messages
at the corresponding log levels.
Implementations§
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