pub struct DebugLog {
pub logging_enabled: bool,
pub log_file: PathBuf,
pub log_file_max_rolls: usize,
pub log_file_max_size: u64,
pub metrics_stats_enable: bool,
pub disable_verbose_logs: bool,
}Expand description
DogStatsD debug logging (dynamic-capable).
Fields§
§logging_enabled: boolWhether DogStatsD debug logging is enabled.
log_file: PathBufPath of the DogStatsD debug log file.
log_file_max_rolls: usizeNumber of rotated debug log files retained.
log_file_max_size: u64Maximum size, in bytes, a debug log file reaches before it is rotated.
metrics_stats_enable: boolWhether per-metric processing statistics are collected.
disable_verbose_logs: boolWhether verbose per-packet log lines are suppressed.
Trait Implementations§
impl StructuralPartialEq for DebugLog
Auto Trait Implementations§
impl Freeze for DebugLog
impl RefUnwindSafe for DebugLog
impl Send for DebugLog
impl Sync for DebugLog
impl Unpin for DebugLog
impl UnwindSafe for DebugLog
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