lwhiteley / AngularLogExtender

AngularLogExtender is an AngularJS module that extends the Angular $log functionality. It uses the native $decorator to push the $log pass its capabilities and provide new functionality such as configuring the $log for different environments such as production and development
MIT License
40 stars 8 forks source link

turn off CONFIG: LOGGING ENABLED GLOBALLY #34

Closed lookfirst closed 9 years ago

lookfirst commented 10 years ago

I'd like the option to not output that line.

ferronrsmith commented 10 years ago

sounds like a good request. We will add this to the next release

ferronrsmith commented 9 years ago
app.config(['logExProvider', function(logExProvider) {
    var enabledLogging=true, enableQuietly=true;
    logExProvider.enableLogging(enabledLogging, enableQuietly);
}]);
ferronrsmith commented 9 years ago

@lwhiteley you can push the latest version of the log extender to bower, thanks!

lwhiteley commented 9 years ago

@ferronrsmith bower uses the git tags and should use 0.0.10 by default as the latest version now. i also just confirmed by downloading it

ferronrsmith commented 9 years ago

ok great awesome, thanks!

On Sun, Apr 12, 2015 at 9:52 PM, Layton Whiteley notifications@github.com wrote:

@ferronrsmith https://github.com/ferronrsmith bower uses the git tags and should use 0.0.10 by default as the latest version now. i also just confirmed by downloading it

— Reply to this email directly or view it on GitHub https://github.com/lwhiteley/AngularLogExtender/issues/34#issuecomment-92168160 .

"Give me a place to stand on, and I will move the Earth."

Ferron Hanse