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

logtoconsole pref #6

Closed
gregglind opened this issue Feb 14, 2013 · 1 comment
Closed

logtoconsole pref #6

gregglind opened this issue Feb 14, 2013 · 1 comment

Comments

@gregglind
Copy link
Owner

I like having this be a user facing pref... but the name is bad.

I also like having studies know if they should log.

These two desires seem to intersect badly....

Suggested fix:

in mircopilot

let {prefs} = require('simple-prefs')
if (prefs.micropilotlog === undefined) { prefs.micropilotlog = false }
@gregglind
Copy link
Owner Author

Also, console.log is quiet in compiled xpis...

require("simple-prefs").prefs["sdk.console.logLevel"] = 0

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

1 participant