Added a wrapper around console.log