Use console.error for errors, console.log for traces