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

Disable logging? #35

Open
yocontra opened this issue Apr 3, 2013 · 2 comments
Open

Disable logging? #35

yocontra opened this issue Apr 3, 2013 · 2 comments

Comments

@yocontra
Copy link

yocontra commented Apr 3, 2013

How do I disable this insane amount of logging? I have application logs I'm trying to read and this make it really difficult

@haisum
Copy link

haisum commented Jun 2, 2013

I have same problem. Is there any way to disable logging??

@nkcmr
Copy link
Contributor

nkcmr commented Jul 9, 2013

They just merged my pull request that sets the default log level to WARN. You can adjust the log level like so:

var phone = $.phono({
    apiKey:'abcd'
});

phone.setLogLevel("< ALL | TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF >");
phone.getLogLevel(); // -> "WARN" (The default level)

Obviously, to completely disabled logging, set it to OFF

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