Replace log.x with console.x