deftjs / DeftJS

Extensions for Large-Scale Sencha Touch and Ext JS Applications
http://deftjs.org/
MIT License
285 stars 56 forks source link

Suppress INFO-level log messages when not using the debug build of Sencha Touch #128

Open ccg opened 10 years ago

ccg commented 10 years ago

Switching from sencha-touch-all-debug.js to sencha-touch-all.js should suppress "info"-level messages sent through Deft.log.Logger.info() or .log().

johnyanarella commented 10 years ago

Months back, we broached the idea of making Deft.log.Logger public. In addition to what you've reported here, I think we should open it up as a public API and add a configurable logLevel property specific to messages logged through Deft.log.Logger.