You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it could possibly be useful to utilize a logger for any activity the onboard computer is doing. Python has a built-in logger library ready for use (more info) and as far as javascript goes, there is Winston which was used last year. We could limit the log file to 10mb or something even smaller if storage is a concern. The main use case is that if we come across a run-time error we could possibly log it to a file before the program exits due to the exception and have an idea why it crashed. What do you guys think?
The text was updated successfully, but these errors were encountered:
Not that I can think of. Maybe read/write speeds could be an issue if we are writing really verbose messages really quickly? But I don't think that should hurt us.
Thoughts on doing something like this? It can be useful for debugging purposes especially if we are out there doing competition tasks and something craps out on us.
Hello everyone,
I think it could possibly be useful to utilize a logger for any activity the onboard computer is doing. Python has a built-in logger library ready for use (more info) and as far as javascript goes, there is Winston which was used last year. We could limit the log file to 10mb or something even smaller if storage is a concern. The main use case is that if we come across a run-time error we could possibly log it to a file before the program exits due to the exception and have an idea why it crashed. What do you guys think?
The text was updated successfully, but these errors were encountered: