When you want to intercept console output in a uniform way across the server and browser (probably in a test suite that can run on the command line and browser).
khrome/environment-safe-console-intercept
intercept things on the way to the console in node and the browser
JavaScript