grunt-remove-logging icon indicating copy to clipboard operation
grunt-remove-logging copied to clipboard

FR : Regular expression needed in the config...

Open hemanth opened this issue 11 years ago • 1 comments

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?

hemanth avatar Aug 14 '13 10:08 hemanth

Ping @ehynds

hemanth avatar Feb 11 '14 05:02 hemanth