pub struct LogConfig {
pub level: u32,
pub format: LogFormatConfig,
pub config_path: Option<PathBuf>,
}
Expand description
Logger configuration
Fields§
§level: u32
Default logger log level, [0, 3]
format: LogFormatConfig
Default logger format configuration
config_path: Option<PathBuf>
Logging configuration file path
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogConfig
impl RefUnwindSafe for LogConfig
impl Send for LogConfig
impl Sync for LogConfig
impl Unpin for LogConfig
impl UnwindSafe for LogConfig
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