pub struct LogConfig {
pub log_path: PathBuf,
pub spool_dir: PathBuf,
pub level: LogLevel,
pub message_preview_enabled: bool,
pub max_bytes: u64,
pub max_files: u32,
pub retention_days: u32,
pub queue_capacity: usize,
pub max_event_bytes: usize,
}Fields§
§log_path: PathBuf§spool_dir: PathBuf§level: LogLevel§message_preview_enabled: bool§max_bytes: u64§max_files: u32§retention_days: u32§queue_capacity: usize§max_event_bytes: usizeImplementations§
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 UnsafeUnpin 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