Apply console.log to the console object so that it doesn't throw a "TypeError: this is null".