I have read through different posts for turning off the console.log to print in the browser's console, but couldn't find any solution for angular 2. Here is what I'm trying to achieve: a functionality in angular 2 where I can turn off the browser console.log (maybe in the back-end). I'm thinking of a function or maybe a default browser property that can be toggled to turn off the printing of messages in the browser console when I call console.log.
Please suggest me a right direction to achieve this.. thanks!