mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 20:07:32 +08:00
rm(lightweight): unused logging
This commit is contained in:
parent
9ebde802d4
commit
4831d88467
@ -6,7 +6,7 @@ pub type CmdResult<T = ()> = Result<T, String>;
|
|||||||
// Command modules
|
// Command modules
|
||||||
pub mod app;
|
pub mod app;
|
||||||
pub mod clash;
|
pub mod clash;
|
||||||
pub mod lighteweight;
|
pub mod lightweight;
|
||||||
pub mod media_unlock_checker;
|
pub mod media_unlock_checker;
|
||||||
pub mod network;
|
pub mod network;
|
||||||
pub mod profile;
|
pub mod profile;
|
||||||
@ -23,7 +23,7 @@ pub mod webdav;
|
|||||||
// Re-export all command functions for backwards compatibility
|
// Re-export all command functions for backwards compatibility
|
||||||
pub use app::*;
|
pub use app::*;
|
||||||
pub use clash::*;
|
pub use clash::*;
|
||||||
pub use lighteweight::*;
|
pub use lightweight::*;
|
||||||
pub use media_unlock_checker::*;
|
pub use media_unlock_checker::*;
|
||||||
pub use network::*;
|
pub use network::*;
|
||||||
pub use profile::*;
|
pub use profile::*;
|
||||||
|
@ -154,8 +154,6 @@ impl Config {
|
|||||||
chain_logs: logs,
|
chain_logs: logs,
|
||||||
};
|
};
|
||||||
|
|
||||||
println!("generate runtime draft");
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -151,7 +151,6 @@ impl CoreManager {
|
|||||||
logging!(info, Type::Config, true, "生成临时配置文件用于验证");
|
logging!(info, Type::Config, true, "生成临时配置文件用于验证");
|
||||||
let config_path = Config::generate_file(ConfigType::Check)?;
|
let config_path = Config::generate_file(ConfigType::Check)?;
|
||||||
let config_path = dirs::path_to_str(&config_path)?;
|
let config_path = dirs::path_to_str(&config_path)?;
|
||||||
println!("{}", config_path);
|
|
||||||
self.validate_config_internal(config_path).await
|
self.validate_config_internal(config_path).await
|
||||||
}
|
}
|
||||||
/// 验证指定的配置文件
|
/// 验证指定的配置文件
|
||||||
|
Loading…
x
Reference in New Issue
Block a user