Use println to log status updates (for now)
This commit is contained in:
parent
99d8a4c133
commit
786e9dbd74
|
@ -113,7 +113,7 @@ async fn update_loop() -> Result<()> {
|
||||||
total_kwh,
|
total_kwh,
|
||||||
last_updated,
|
last_updated,
|
||||||
};
|
};
|
||||||
dbg!(&status);
|
println!("Updated status to: {:#?}", status);
|
||||||
status_guard.replace(status);
|
status_guard.replace(status);
|
||||||
drop(status_guard);
|
drop(status_guard);
|
||||||
|
|
||||||
|
|
Reference in New Issue