Be careful, the actual logging can happen at a later time, and because the log function may take a reference to the value, if you modify r it may show the modified version of r in the logging instead of the original r.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments