use crate::types::{LogType, TimeUnit};
pub struct Options {
pub name: String,
pub time_unit: TimeUnit,
pub colors: bool,
pub log_level: LogType,
}
impl Options {
pub fn new(s: &str) -> Options {
Options {
name: s.to_string(),
colors: true,
time_unit: TimeUnit::Milliseconds,
log_level: LogType::Info,
}
}
}