mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
feat: implement CoreConfigValidator for configuration validation and enhance logging types (#5112)
This commit is contained in:
@@ -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]"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user