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.
There are numerous approaches, but none seems to work.
overriding console.log - e.g., Override console.log(); for production
Override Cordova DebugConsole.prototype.log - e.g., http://iamcam.wordpress.com/2011/07/26/quiet-the-console-phonegap-ios/
Any working examples? Other feasible approaches?