more debug output

This commit is contained in:
Joeri Exelmans 2025-11-05 15:41:50 +01:00
parent 1c5fff49b5
commit b8092f6208
2 changed files with 1 additions and 0 deletions

View file

@ -107,6 +107,7 @@ pub fn eval_boolean(s: &str, js_trace: JsValue) -> JsValue {
match eval_result {
Ok(r) => {
r.iter().for_each(|(timestamp, satisfied), | {
console::debug_1(&JsValue::from_str(format!("timestamp: {}s {}ms", timestamp.as_secs(), (timestamp.as_millis() as f64)).as_str()));
result.push(StateBuddyEvalResultEntry{
timestamp: timestamp.as_millis() as f64,
satisfied: *satisfied,