Skip to content

Commit 830b3e3

Browse files
authored
introduce logging (#413)
1 parent efcb3d6 commit 830b3e3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Cargo.lock

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

mp2-v1/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ bb8 = "0.8.5"
3131
bb8-postgres = "0.8.1"
3232
tokio-postgres = "0.7.12"
3333
futures = "0.3.30"
34+
tracing = "0.1"
3435

3536
[dev-dependencies]
3637
alloy.workspace = true

mp2-v1/src/indexing/row.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl<
281281
.unwrap_or(empty_poseidon_hash().to_bytes().try_into().unwrap())
282282
).to_fields())
283283
.collect::<Vec<_>>();
284-
println!(
284+
tracing::info!(
285285
"\n--RYHOPE aggregate() Row : id {:?}, value {:?} (empty hash{}) left_hash {:?}, right_hash {:?} min {:?}, max {:?}, tree_root_hash {:?}",
286286
self.secondary_index_column,
287287
self.secondary_index_value(),

0 commit comments

Comments
 (0)