pub struct Logger;Expand description
Logger 组件
日志系统的组件,提供日志能力。 在实际使用中,通过 tracing 宏直接记录日志,无需通过 Logger 组件。 此组件主要用于标识日志系统已初始化。
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