pub struct LogFile {
pub dir: String,
pub level: Level,
pub name: String,
pub file_path: Box<Path>,
/* private fields */
}Expand description
Config for file sink
Fields§
§dir: StringDirectory path
level: Levelmax log level in this file
name: Stringfilename
file_path: Box<Path>path: dir/name
Implementations§
Auto Trait Implementations§
impl Freeze for LogFile
impl RefUnwindSafe for LogFile
impl Send for LogFile
impl Sync for LogFile
impl Unpin for LogFile
impl UnwindSafe for LogFile
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