Added the log level

This commit is contained in:
Connor Johnstone
2026-03-22 13:05:09 -04:00
parent 3dba620c9b
commit 44c96d125a
3 changed files with 42 additions and 6 deletions

View File

@@ -402,6 +402,12 @@ pub struct AppConfig {
pub scheduling: SchedulingConfigFe,
#[serde(default)]
pub musicbrainz: MusicBrainzConfigFe,
#[serde(default = "default_log_level")]
pub log_level: String,
}
fn default_log_level() -> String {
"info".into()
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]