diff options
author | Melody Horn <melody@boringcactus.com> | 2021-12-04 18:16:08 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-12-04 18:16:08 -0700 |
commit | b5c68d4ddbafeec577e6a56a02723460c9ce4f33 (patch) | |
tree | eab4f9cae3695306046146c51fbabed84259f6f9 /src | |
parent | a0cc2290cbff36db824e99d1b1f5b7b930eff628 (diff) | |
download | queue-go-brrr-b5c68d4ddbafeec577e6a56a02723460c9ce4f33.tar.gz queue-go-brrr-b5c68d4ddbafeec577e6a56a02723460c9ce4f33.zip |
*successfully* debugging in production can i get a hell yeah
Diffstat (limited to 'src')
-rw-r--r-- | src/history.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/history.rs b/src/history.rs index 2e16cae..48ee7db 100644 --- a/src/history.rs +++ b/src/history.rs @@ -40,7 +40,12 @@ impl History { if overall_queue_motion == 0 { return None; } - gloo::console::log!("time", overall_time_elapsed, "motion", overall_queue_motion); + gloo::console::log!( + "time", + overall_time_elapsed.to_string(), + "motion", + overall_queue_motion + ); let duration_per_step = overall_time_elapsed / overall_queue_motion as i32; let remaining_duration = duration_per_step * last_size as i32; let completion_time = last_time + remaining_duration; |