I am building an app with Sencha Touch 2.
I want to log some messages, but I do not want to litter my code with console.log all over the place, so I would like to know more about Ext.Logger. As I understand it, this class is in sencha-touch-debug.js but is NOT in sencha-touch.js (The file that is used in the production build)
How then am I supposed to use Ext.Logger? I would assume this is your typical logging class, i.e, log some useful messages at development time, then in the production build configure it so that its quiet.
But if the Ext.Logger class is NOT in the production build then what good is it? Are references to it removed at build time? Is there some configuration I am supposed to specify?
I cannot seem to find any documentation on this class, or how its supposed to be used.