Struct easylog::LogFileConfig [−][src]
pub struct LogFileConfig { pub max_size_in_mb: u64, pub path: String, pub name: String, pub extension: String, }
Struct to hold the configuration for the logfile
Fields
max_size_in_mb: u64
maximum size for the logfile in MegaBytes
path: String
Path to the file
name: String
filename
extension: String
fileextension
Methods
impl LogFileConfig
[src]
impl LogFileConfig
pub fn new() -> LogFileConfig
[src]
pub fn new() -> LogFileConfig
Returns a LogFileConfig-struct with default parameters
Auto Trait Implementations
impl Send for LogFileConfig
impl Send for LogFileConfig
impl Sync for LogFileConfig
impl Sync for LogFileConfig