mercredi 4 mars 2015

How I can restrict Ember.logger to warn and error in production build?

In Ember production build, I want to enable only "Ember.Logger.warn" & "Ember.Logger.error" and rest of the Ember logger should be disabled.


i.e

Non production - set to "debug” all logs should be displayed (any Ember.Logger….)

Prod - set to “warn” display only warn & errors ( Ember.Logger.warn & Ember.Logger.error)


It will be helpful, if you guys give a solution.





Aucun commentaire:

Enregistrer un commentaire