pub struct LoggingModule { /* private fields */ }Expand description
日志模块
LoggingModule 负责初始化日志系统,包括:
- 配置 tracing subscriber
- 设置文件和控制台输出
- 注册 Logger 组件
Implementations§
Source§impl LoggingModule
impl LoggingModule
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoggingModule
impl RefUnwindSafe for LoggingModule
impl Send for LoggingModule
impl Sync for LoggingModule
impl Unpin for LoggingModule
impl UnwindSafe for LoggingModule
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