pub struct LogRingFile {
pub file_path: Box<Path>,
pub level: Level,
pub format: LogFormat,
pub buf_size: i32,
}Available on crate feature
ringfile only.Expand description
Config for the ring file. See module level doc for usage.
Fields§
§file_path: Box<Path>§level: Level§format: LogFormat§buf_size: i320 < buf_size < i32::MAX, note this is the buffer size within each thread.
Implementations§
Trait Implementations§
Source§impl Hash for LogRingFile
impl Hash for LogRingFile
Source§impl SinkConfigTrait for LogRingFile
impl SinkConfigTrait for LogRingFile
Auto Trait Implementations§
impl Freeze for LogRingFile
impl RefUnwindSafe for LogRingFile
impl Send for LogRingFile
impl Sync for LogRingFile
impl Unpin for LogRingFile
impl UnwindSafe for LogRingFile
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