Added custom logger and exported a new enableProdMode method with the aim of enabling the production mode and avoiding unnecessary logs