pub struct LogConfig {
pub log_dir: Option<PathBuf>,
pub level: String,
pub json_format: bool,
}Expand description
Logging configuration
Fields§
§log_dir: Option<PathBuf>Optional log directory for file output
level: StringLog level (trace, debug, info, warn, error)
json_format: boolWhether to use JSON format
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