Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Provide $log.debug() with associated on/off switch in the provider #1592

Closed
nlaplante opened this issue Nov 19, 2012 · 0 comments
Closed

Provide $log.debug() with associated on/off switch in the provider #1592

nlaplante opened this issue Nov 19, 2012 · 0 comments

Comments

@nlaplante
Copy link
Contributor

It would be very nice and useful enhancement for developers to have a debug() method in the $log service, which could suppress output via some mechanism like:

$logProvider.debugEnabled(false);
jamessharp pushed a commit to jamessharp/angular.js that referenced this issue Jan 18, 2013
New debug() method with suppressable output via
$logProvider.debugEnabled()

Closes angular#1592
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants