vivarium-collective / vivarium-core

Core Interface and Engine for Vivarium
https://vivarium-core.readthedocs.io/
Apache License 2.0
25 stars 2 forks source link

Prototype of logging updates #184

Closed U8NWXD closed 1 year ago

U8NWXD commented 2 years ago

I've used this for debugging, but it probably needs some more work to be merged in


By creating this pull request, I agree to the Contributor License Agreement, which is available in CLA.md at the top level of this repository.

eagmon commented 2 years ago

This is an interesting idea. Similar to @Robotato 's logging_process in terms of its functionality, except that his added a new logging_port to selected processes, and saves their full updates to a new store. Your solution is simpler in that you can just switch logging on via the store schema. Some added functionality that logging_process has was that you could see what process each update came from -- you might be able to do that here if you can get the update's source.