use crate::log_level::LogLevel;
pub struct LoggrConfig {
pub timestamp_format: Option<String>,
pub shard: Option<String>,
pub shard_length: Option<usize>,
pub level: Option<String>,
pub levels: Option<Vec<LogLevel>>,
pub color_enabled: bool,
}
impl Default for LoggrConfig {
fn default() -> Self {
Self {
timestamp_format: None,
shard: None,
shard_length: None,
level: None,
levels: None,
color_enabled: true,
}
}
}