Skip to content

Commit

Permalink
chore: Use tracing instead of log and simplelog
Browse files Browse the repository at this point in the history
Structured logging from `tracing` meets our needs better, especially
in the parts of bpf-linker which sanitize the debug info.

Fixes #177
  • Loading branch information
vadorovsky committed Feb 8, 2024
1 parent c421e58 commit ab2a7fb
Show file tree
Hide file tree
Showing 6 changed files with 284 additions and 128 deletions.
256 changes: 211 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ edition = "2021"
[dependencies]
# cli deps
clap = { version = "4.4.7", features = ["derive"] }
simplelog = { version = "0.12.1" }
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter", "registry"] }
tracing-tree = "0.3"

# lib deps
ar = { version = "0.9.0" }
aya-rustc-llvm-proxy = { version = "0.9.0", optional = true }
gimli = { version = "0.28.0" }
libc = { version = "0.2.150" }
llvm-sys = { version = "170.0.0" }
log = { version = "0.4.20" }
thiserror = { version = "1.0.50" }
tracing = "0.1"

[dev-dependencies]
compiletest_rs = { version = "0.10.1" }
Expand Down
Loading

0 comments on commit ab2a7fb

Please sign in to comment.