I'm fairly new to Javascript development so this might be a real newbie question.
I've got a sencha-touch application riddled with console.log(); for debugging purposes.
I've got chirpy doing all of my build time combining. It outputs a app.debug.js for debugging as well as a app.min.js for production
Now I could go through all of my code files looking for console.log(); and delete it manually when I'm ready to go to production, but I'm wondering if there's a way to override the method.
Basically, whenever the console.log(); method is called, DO NOTHING.
That way, I can put the override code file in my production config, and NOT in my debug config.
Is this possible?