switching console.log