Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logs in code #64

Closed
madmoizo opened this issue May 11, 2016 · 3 comments
Closed

logs in code #64

madmoizo opened this issue May 11, 2016 · 3 comments

Comments

@madmoizo
Copy link

Hi,

In he original code, console.logs were used for dev purpose. It seems that we can't disable them now.

@bramski
Copy link
Owner

bramski commented May 11, 2016

Okay. Do you want to configure their removal or just remove them and
submit a PR?
On May 11, 2016 7:32 AM, "frlinw" notifications@github.com wrote:

Hi,

In he original code, console.logs were used for dev purpose. It seems that
we can't disable them now.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#64

@madmoizo
Copy link
Author

madmoizo commented May 12, 2016

Just remove them, i will submit a PR if you agree with that.

@ankurk91
Copy link

ankurk91 commented Oct 6, 2016

Angular allows to disable logging.

app. config([ '$logProvider' , function($logProvider) {

$logProvider. debugEnabled(false );

}]);

This will disable any $log.debug call

https://docs.angularjs.org/api/ng/provider/$logProvider

@madmoizo madmoizo closed this as completed Jan 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants