Can you add the same function as "Recorded Console" to any kind of OutputStream?
Background: I'm writing code generators and the ability to seek to the piece of code which wrote some output to a file would be invaluable.
I don't think Post Execution Logging would fit my use case because there is no counter or offset "variable" in the standard OutputStream interface.
I think a better and more generic way to implement this inside Chronon would be to allow listing arguments to a particular method call, on a particular object.
In your case, you would:
- select the outputstream object you want to track
- select the methods whose arguments you want to list ( write() in your case)
- once selected, you would see exactly what was passed to write() everywhere in your code, and clicking on a line of output would take you to the correct point in time
Critics, improvements and all suggestions on this are welcome :)