feat: implement CoreConfigValidator for configuration validation and enhance logging types (#5112)

This commit is contained in:
Tunglies
2025-10-18 10:57:57 +08:00
committed by GitHub
parent a1c0a09423
commit 210c12a74e
8 changed files with 377 additions and 308 deletions

View File

@@ -30,6 +30,7 @@ pub enum Type {
Network,
ProxyMode,
// Cache,
Validate,
ClashVergeRev,
}
@@ -53,6 +54,7 @@ impl fmt::Display for Type {
Type::Network => write!(f, "[Network]"),
Type::ProxyMode => write!(f, "[ProxMode]"),
// Type::Cache => write!(f, "[Cache]"),
Type::Validate => write!(f, "[Validate]"),
Type::ClashVergeRev => write!(f, "[ClashVergeRev]"),
}
}