The watch() function exported by src/watch/watch.coffee returns an object with a method called getObservations(). The getObservations() function outputs a description of what happened to the watched object, with the format described in the wiki Architecture page. This format is not human-readable.
Desired Solution
Create a sub-module for formatting observation data in a human-readable way.
Suggestions
Output the number of times that each property of the wrapped object was accessed
Output a copy-able JSON string representation of the wrapper object as it appeared to the client code
Current State
The
watch()
function exported bysrc/watch/watch.coffee
returns an object with a method calledgetObservations()
. ThegetObservations()
function outputs a description of what happened to the watched object, with the format described in the wiki Architecture page. This format is not human-readable.Desired Solution
Create a sub-module for formatting observation data in a human-readable way.
Suggestions