title: reactJS disable console.log system wide
body: <p>I have console.log all over the place. Removing them all is not good as I might need them again. Is there way I can do something like this for entire react app?</p>
  
  <pre><code>if(env === 'production'){
    console.log= function(){}
  }
  </code></pre>