use crate::{paint::ColorFormat, sculpt::RecordFormat, theme::Spectral, theme::Theme};
use log::LevelFilter;
pub struct Config {
pub level: LevelFilter,
pub record_format: RecordFormat,
pub color_format: Option<ColorFormat>,
pub theme: Box<dyn Theme>,
pub use_stderr: bool,
}
impl Default for Config {
fn default() -> Config {
Config {
level: LevelFilter::Info,
record_format: RecordFormat::Simple,
color_format: Some(ColorFormat::Solid),
theme: Box::new(Spectral {}),
use_stderr: true,
}
}
}