8000 LOGS · follen99/SmartCity Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Giuliano Ranauro edited this page Jul 22, 2021 · 1 revision

Whenever a car passes by, it's identified as an event, and a Logger saves it. We should save events (logs) to a file or a database, but TinkerCad does not have this function yet. We instead simply print to a console the log in a json form: logs

We can see how the log will be writed: enter image description here


Logs are a very powerful tool, in this case we have a simple scenario, but we could use them to know when a road is busiest, and act accordingly.

Clone this wiki locally
0