mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
refactor: simplify log retrieval by removing level parameter and relying on server-side filtering #4293
This commit is contained in:
@@ -580,8 +580,8 @@ pub async fn clash_gc() -> CmdResult {
|
||||
|
||||
/// 获取日志 (使用新的流式实现)
|
||||
#[tauri::command]
|
||||
pub async fn get_clash_logs(level: Option<String>) -> CmdResult<serde_json::Value> {
|
||||
Ok(ipc::get_logs_json(level).await)
|
||||
pub async fn get_clash_logs() -> CmdResult<serde_json::Value> {
|
||||
Ok(ipc::get_logs_json().await)
|
||||
}
|
||||
|
||||
/// 启动日志监控
|
||||
|
||||
Reference in New Issue
Block a user