Skip to content

Commit

Permalink
introduce logging (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackaugusto authored Nov 26, 2024
1 parent efcb3d6 commit 830b3e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions mp2-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ bb8 = "0.8.5"
bb8-postgres = "0.8.1"
tokio-postgres = "0.7.12"
futures = "0.3.30"
tracing = "0.1"

[dev-dependencies]
alloy.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion mp2-v1/src/indexing/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl<
.unwrap_or(empty_poseidon_hash().to_bytes().try_into().unwrap())
).to_fields())
.collect::<Vec<_>>();
println!(
tracing::info!(
"\n--RYHOPE aggregate() Row : id {:?}, value {:?} (empty hash{}) left_hash {:?}, right_hash {:?} min {:?}, max {:?}, tree_root_hash {:?}",
self.secondary_index_column,
self.secondary_index_value(),
Expand Down

0 comments on commit 830b3e3

Please sign in to comment.