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 aya-rs#177
  • Loading branch information
vadorovsky committed Feb 2, 2024
1 parent c421e58 commit 9f79d4c
Show file tree
Hide file tree
Showing 6 changed files with 291 additions and 129 deletions.
239 changes: 194 additions & 45 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ edition = "2021"
[dependencies]
# cli deps
clap = { version = "4.4.7", features = ["derive"] }
simplelog = { version = "0.12.1" }

# 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"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "registry"] }

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

0 comments on commit 9f79d4c

Please sign in to comment.