grunt-remove-logging
grunt-remove-logging copied to clipboard
FR : Regular expression needed in the config...
Say the code is like [Object attributes with name spaces] :
$ = (function(){}
var log = x.y.z.log.logManager.getLogger('say');
log.say("zomg!");
());
or
$ = (function(){}
return {log : x.y.z.log.logManager.getLogger('fatal')};
());
$.log.say("zomg");
Even though we provide the namespace
and method
in the grunt config, these kind of logging message will not be stripped off.
The potential fix with be to provide a RE
in the config?
Ping @ehynds