rm(lightweight): unused logging

This commit is contained in:
Tunglies 2025-03-29 13:05:58 +08:00
parent 9ebde802d4
commit 4831d88467
4 changed files with 2 additions and 5 deletions

View File

@ -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::*;

View File

@ -154,8 +154,6 @@ impl Config {
chain_logs: logs, chain_logs: logs,
}; };
println!("generate runtime draft");
Ok(()) Ok(())
} }
} }

View File

@ -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
} }
/// 验证指定的配置文件 /// 验证指定的配置文件