Skip to content

Commit 9d493cb

Browse files
authored
feat(infra): structured leveled logging via tracing (#154) (#160)
Replace ~42 ad-hoc eprintln! with tracing + tracing-subscriber: HONKHONK_LOG-filtered stderr output (compact, ANSI on tty, no timestamps), level-mapped (decode failure -> error WITH file path; router chatter -> debug; first-run -> info; saves -> warn). Codex backup-gate review clean. Closes #154.
1 parent 59cc623 commit 9d493cb

16 files changed

Lines changed: 685 additions & 56 deletions

File tree

Cargo.lock

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ tray-icon = { version = "0.24", default-features = false, features = ["gtk"] }
2121
muda = { version = "0.19", default-features = false, features = ["gtk"] }
2222
gtk = "0.18"
2323
symphonia = { version = "0.5", features = ["mp3", "ogg", "vorbis", "flac", "wav", "pcm", "aac"] }
24+
tracing = "0.1"
25+
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
2426
thiserror = "2"
2527
serde = { version = "1", features = ["derive"] }
2628
serde_json = "1"

0 commit comments

Comments
 (0)