An unobtrusive console shim that works in node scripts and browsers.