As a consequence of splitting apart the logger from the writers, we really shouldn’t have the multi-line problem any more.
I think we can still generate some through the check functions, but I think most of them don’t print Eigen::Matrix any more.
Regarding efficiency, yes, we should be responsible. If you (@sakrejda and @Bob_Carpenter) think we should add an is_info() function or use template magic to be efficient, we can and should – it’s not too difficult. I just want to mention again that this isn’t a real bottleneck, I think. On a typical run of 2000 iterations with refresh at 100, there are about 5 calls for a message about timing, 22 calls about the iteration number, and 5 calls for the elapsed time. Per iteration, we get another half dozen calls, but I’ve always thought the info was useful + exception handling probably takes some time. (I’m just talking logging, not the rest of the writers.)