pub struct FileLogConfig {
pub directory_path: PathBuf,
pub format: LogFormat,
pub rotation: LogRotation,
}Expand description
Configuration for file logging.
Fields§
§directory_path: PathBufThe path to the directory where the log files are stored.
format: LogFormatThe format of the logs printed to the log file.
rotation: LogRotationThe rotation of the log files.
Trait Implementations§
Source§impl Clone for FileLogConfig
impl Clone for FileLogConfig
Source§fn clone(&self) -> FileLogConfig
fn clone(&self) -> FileLogConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileLogConfig
impl RefUnwindSafe for FileLogConfig
impl Send for FileLogConfig
impl Sync for FileLogConfig
impl Unpin for FileLogConfig
impl UnwindSafe for FileLogConfig
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