Use tracing for logging. (#29)

This commit updates how logging is done in the differential testing
harness to use `tracing` instead of using the `log` crate. This allows
us to be able to better associate logs with the cases being executed
which makes it easier to debug and understand what the harness is doing.
This commit is contained in:
Omar authored and GitHub committed 2025-07-10 07:28:16 +00:00
1 parent de7c7d6703
commit 0513a4befb
23 files changed
+238 -210

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ impl SolidityCompiler for Resolc {
if !output.status.success() {
let message = String::from_utf8_lossy(&stderr);
log::error!(
tracing::error!(
"resolc failed exit={} stderr={} JSON-in={} ",
output.status,
&message,
+1 -1
View File
@@ -34,7 +34,7 @@ impl SolidityCompiler for Solc {
if !output.status.success() {
let message = String::from_utf8_lossy(&output.stderr);
log::error!("solc failed exit={} stderr={}", output.status, &message);
tracing::error!("solc failed exit={} stderr={}", output.status, &message);
return Ok(CompilerOutput {
input,
output: Default::default(),