Struct check_timed_logs_fast::Config [−][src]
pub struct Config { pub interval_to_check: u64, pub search_pattern: String, pub filename: String, pub max_critical_matches: u64, pub max_warning_matches: u64, pub date_pattern: String, pub timeposition: usize, pub debug: bool, pub verbose: bool, pub re: Regex, }
Fields
interval_to_check: u64
search_pattern: String
filename: String
max_critical_matches: u64
max_warning_matches: u64
date_pattern: String
timeposition: usize
debug: bool
verbose: bool
re: Regex
Methods
impl Config
[src]
impl Config
pub fn new(
interval_to_check: u64,
search_pattern: String,
filename: String,
max_critical_matches: u64,
max_warning_matches: u64,
date_pattern: String,
timeposition: usize,
debug: bool,
verbose: bool
) -> Result<Config, String>
[src]
pub fn new(
interval_to_check: u64,
search_pattern: String,
filename: String,
max_critical_matches: u64,
max_warning_matches: u64,
date_pattern: String,
timeposition: usize,
debug: bool,
verbose: bool
) -> Result<Config, String>