The best alternative to the console.log statement