Skip to content

Commit db3e62d

Browse files
committed
Turn down logging and add padding
1 parent efaa538 commit db3e62d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

jingle/examples/stack_offset.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const FUNC_GOTO: u64 = 0x100000610;
2929
fn main() {
3030
// Initialize tracing for debug output
3131
tracing_subscriber::fmt()
32-
.with_max_level(tracing::Level::TRACE)
32+
.with_max_level(tracing::Level::INFO)
3333
.with_target(false)
3434
.with_thread_ids(false)
3535
.with_line_number(true)
@@ -189,16 +189,15 @@ fn main() {
189189
println!(" (no DirectValuationState recorded for this location)");
190190
}
191191
} else {
192-
println!("Computed loc: {:x}", leaf.0.inner());
193-
println!("Valuations:");
192+
println!(" Computed loc: {:x}", leaf.0.inner());
193+
println!(" Valuations:");
194194
for ele in leaf.1.written_locations() {
195195
println!(
196-
"{} = {}",
196+
" {} = {}",
197197
ele.0.display(loaded.arch_info()),
198198
ele.1.display(loaded.arch_info())
199199
)
200200
}
201-
println!(" (no concrete location; cannot display valuation state for this leaf)");
202201
}
203202
}
204203

0 commit comments

Comments
 (0)