pub struct StdLog;Expand description
Drain logging Records into log crate
Using StdLog is effectively the same as using log::info!(...) and
other standard logging statements.
Caution needs to be taken to prevent circular loop where Logger
installed via slog-stdlog::set_logger would log things to a StdLog
drain, which would again log things to the global Logger and so on
leading to an infinite recursion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdLog
impl RefUnwindSafe for StdLog
impl Send for StdLog
impl Sync for StdLog
impl Unpin for StdLog
impl UnwindSafe for StdLog
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