Skip to content

Commit 561efd1

Browse files
committed
examples: simplify and reorder output of poll_coindesk_bitcoin_vs_usd_rate.v
1 parent 6845db9 commit 561efd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/poll_coindesk_bitcoin_vs_usd_rate.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn show_result(i u64, res PriceResult, delta f64) {
4141
term.red
4242
}
4343
cdelta := term.colorize(color, sdelta)
44-
log.info('cycle: ${i:5} | ${res.chart_name} | updated_iso: ${res.time.updated_iso} | USD rate: ${res.bpi['USD'].rate_float:10.3f} | delta: ${cdelta}')
44+
log.info('${cdelta}, ${res.bpi['USD'].rate_float:10.3f} USD/BTC, ${res.time.updated_iso}, cycle: ${i:5}')
4545
}
4646

4747
struct PriceTime {

0 commit comments

Comments
 (0)