refactor: simplify log warning message formatting and remove unused LogLevel enum

This commit is contained in:
Tunglies
2025-08-13 16:24:57 +08:00
parent 7cc3bc83a0
commit ee3ffaef1d
2 changed files with 1 additions and 48 deletions

View File

@@ -112,7 +112,7 @@ async fn clean_async() -> bool {
true
}
Ok(Err(e)) => {
log::warn!(target: "app", "禁用TUN模式失败: {}", e);
log::warn!(target: "app", "禁用TUN模式失败: {e}");
false
}
Err(_) => {