pub struct ConsoleSink { /* private fields */ }Expand description
控制台日志 sink:将日志输出到 stdout。
不持有状态,输出格式为 [LEVEL] timestamp - message。
Implementations§
Trait Implementations§
Source§impl Default for ConsoleSink
impl Default for ConsoleSink
Auto Trait Implementations§
impl Freeze for ConsoleSink
impl RefUnwindSafe for ConsoleSink
impl Send for ConsoleSink
impl Sync for ConsoleSink
impl Unpin for ConsoleSink
impl UnsafeUnpin for ConsoleSink
impl UnwindSafe for ConsoleSink
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