refactor: 使用 tracing 输出日志 (#1856)

* change all println to tracing
This commit is contained in:
Luna Yao
2026-03-04 02:52:23 +01:00
committed by GitHub
parent 1d25240d8c
commit 5f31583a84
18 changed files with 488 additions and 384 deletions
Generated
+11
View File
@@ -2207,6 +2207,7 @@ dependencies = [
"humansize",
"humantime-serde",
"idna 1.0.3",
"indoc",
"kcp-sys",
"machine-uid",
"maplit",
@@ -2222,6 +2223,7 @@ dependencies = [
"openssl",
"ordered_hash_map",
"parking_lot",
"paste",
"percent-encoding",
"petgraph 0.8.1",
"pin-project-lite",
@@ -4163,6 +4165,15 @@ dependencies = [
"serde",
]
[[package]]
name = "indoc"
version = "2.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
dependencies = [
"rustversion",
]
[[package]]
name = "infer"
version = "0.19.0"