title: How to turn off console.log() for production in Cordova / PhoneGap?
body: <p>How can I turn off the JavaScipt console.log() for production in Cordova / PhoneGap? Disabling the debugging information in the console probably speeds up the mobile app quite a bit.</p>
  
  <p>There are numerous approaches, but none seems to work.</p>
  
  <ul>
  <li><p>overriding console.log - e.g., <a href="https://stackoverflow.com/questions/7042611/override-console-log-for-production">Override console.log(); for production</a></p></li>
  <li><p>Override Cordova DebugConsole.prototype.log - e.g., <a href="http://iamcam.wordpress.com/2011/07/26/quiet-the-console-phonegap-ios/" rel="nofollow noreferrer">http://iamcam.wordpress.com/2011/07/26/quiet-the-console-phonegap-ios/</a></p></li>
  </ul>
  
  <p>Any working examples? Other feasible approaches?</p>