pub struct Config {
pub directory: PathBuf,
pub file_stem: String,
pub level: Level,
pub max_file_bytes: u64,
pub max_files: usize,
}Expand description
Where and how much to log.
Fields§
§directory: PathBuf§file_stem: Stringsubspace gives subspace.log and subspace.log.YYYY-MM-DD.
level: Level§max_file_bytes: u64§max_files: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Configwhere
RawVecInner: Send,
impl Sync for Configwhere
RawVecInner: Sync,
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Configwhere
RawVecInner: UnwindSafe,
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