Struct lightspeed_logger::config::FileOutputConfig
source · pub struct FileOutputConfig {
pub file_output_enabled: bool,
pub file_output_directory: String,
pub file_output_name_prefix: String,
pub file_output_rotation: Rotation,
}
Fields§
§file_output_enabled: bool
Determines whether the Logger should print to a file. Valid values: true, false
file_output_directory: String
The log file location
file_output_name_prefix: String
The log file name’s prefix
file_output_rotation: Rotation
The log file rotation strategy
Trait Implementations§
source§impl Clone for FileOutputConfig
impl Clone for FileOutputConfig
source§fn clone(&self) -> FileOutputConfig
fn clone(&self) -> FileOutputConfig
Returns a copy 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 moresource§impl Debug for FileOutputConfig
impl Debug for FileOutputConfig
source§impl Default for FileOutputConfig
impl Default for FileOutputConfig
source§impl<'de> Deserialize<'de> for FileOutputConfigwhere
FileOutputConfig: Default,
impl<'de> Deserialize<'de> for FileOutputConfigwhere
FileOutputConfig: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileOutputConfig
impl RefUnwindSafe for FileOutputConfig
impl Send for FileOutputConfig
impl Sync for FileOutputConfig
impl Unpin for FileOutputConfig
impl UnwindSafe for FileOutputConfig
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