Overload console.log when injecting a console (untested).