Use more appropiate methods for logging of info / warnings / errors instead of console.log